{"id":20066752,"url":"https://github.com/fizker/swift-server-sent-event-models","last_synced_at":"2026-06-13T14:08:56.505Z","repository":{"id":144907593,"uuid":"488393887","full_name":"fizker/swift-server-sent-event-models","owner":"fizker","description":"Swift data models for Server-sent events","archived":false,"fork":false,"pushed_at":"2024-03-19T10:26:43.000Z","size":222,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T10:43:53.289Z","etag":null,"topics":["server-sent-events","swift"],"latest_commit_sha":null,"homepage":"https://fizker.github.io/swift-server-sent-event-models/documentation/serversenteventmodels/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fizker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-05-03T23:36:49.000Z","updated_at":"2022-06-13T07:50:54.000Z","dependencies_parsed_at":"2024-03-19T11:49:21.462Z","dependency_job_id":null,"html_url":"https://github.com/fizker/swift-server-sent-event-models","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fizker/swift-server-sent-event-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizker%2Fswift-server-sent-event-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizker%2Fswift-server-sent-event-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizker%2Fswift-server-sent-event-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizker%2Fswift-server-sent-event-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fizker","download_url":"https://codeload.github.com/fizker/swift-server-sent-event-models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fizker%2Fswift-server-sent-event-models/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34287183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["server-sent-events","swift"],"created_at":"2024-11-13T13:59:47.021Z","updated_at":"2026-06-13T14:08:56.477Z","avatar_url":"https://github.com/fizker.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ServerSentEventModels\n\nModels representing the data-layer for [Server-sent events](https://html.spec.whatwg.org/multipage/server-sent-events.html).\n\nThe models are strongly typed, but have some escape-hatches in case that non-specced data is needed.\n\n[DocC code documentation][docc].\n\n## How to install\n\n1. Add the package to your dependencies in Package.swift: `.package(url: \"https://github.com/fizker/swift-server-sent-event-models.git\", from: \"0.0.1\"),`.\n2. Add the dependency to all targets that need it: `.product(name: \"ServerSentEventModels\", package: \"swift-server-sent-event-models\"),`.\n3. Import the module in your code: `import ServerSentEventModels`.\n\nFor an example, see the [Package.swift][demo-package-swift] and the [routes.swift][demo-routes-swift] from the [demo project][demo] for an example.\n\n\n## How to use\n\nFor detailed examples on how to use the package, see [the DocC docs][docc].\n\n\n[docc]: https://fizker.github.io/swift-server-sent-event-models/documentation/serversenteventmodels/\n[demo]: https://github.com/fizker/server-sent-events-demo\n[demo-package-swift]: https://github.com/fizker/server-sent-events-demo/blob/main/swift-server/Package.swift\n[demo-routes-swift]: https://github.com/fizker/server-sent-events-demo/blob/main/swift-server/Sources/EventSourceServer/routes.swift\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizker%2Fswift-server-sent-event-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffizker%2Fswift-server-sent-event-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffizker%2Fswift-server-sent-event-models/lists"}