{"id":13635111,"url":"https://github.com/Kitura/Kitura-net","last_synced_at":"2025-04-19T03:34:21.061Z","repository":{"id":47109933,"uuid":"51111554","full_name":"Kitura/Kitura-net","owner":"Kitura","description":"Kitura networking","archived":false,"fork":false,"pushed_at":"2021-09-13T06:03:50.000Z","size":8460,"stargazers_count":103,"open_issues_count":16,"forks_count":79,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-04-14T12:13:00.150Z","etag":null,"topics":["fastcgi","headers","http","kitura","networking","request","response","socket","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kitura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-04T22:50:52.000Z","updated_at":"2024-03-12T12:40:15.000Z","dependencies_parsed_at":"2022-09-18T06:34:17.327Z","dependency_job_id":null,"html_url":"https://github.com/Kitura/Kitura-net","commit_stats":null,"previous_names":["ibm-swift/kitura-net"],"tags_count":170,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitura%2FKitura-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitura%2FKitura-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitura%2FKitura-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kitura%2FKitura-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kitura","download_url":"https://codeload.github.com/Kitura/Kitura-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249600506,"owners_count":21297707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fastcgi","headers","http","kitura","networking","request","response","socket","swift"],"created_at":"2024-08-02T00:00:40.853Z","updated_at":"2025-04-19T03:34:20.632Z","avatar_url":"https://github.com/Kitura.png","language":"Swift","funding_links":[],"categories":["Network"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"http://kitura.io/\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Kitura/Kitura/master/Sources/Kitura/resources/kitura-bird.svg?sanitize=true\" height=\"100\" alt=\"Kitura\"\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://kitura.github.io/Kitura-net/index.html\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/apidoc-KituraNet-1FBCE4.svg?style=flat\" alt=\"APIDoc\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/Kitura/Kitura-net\"\u003e\n    \u003cimg src=\"https://travis-ci.org/Kitura/Kitura-net.svg?branch=master\" alt=\"Build Status - Master\"\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/badge/os-macOS-green.svg?style=flat\" alt=\"macOS\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/os-linux-green.svg?style=flat\" alt=\"Linux\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-Apache2-blue.svg?style=flat\" alt=\"Apache 2\"\u003e\n    \u003ca href=\"http://swift-at-ibm-slack.mybluemix.net/\"\u003e\n    \u003cimg src=\"http://swift-at-ibm-slack.mybluemix.net/badge.svg\" alt=\"Slack Status\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n# Kitura-Net\n\nThe Kitura-net module contains logic for sending and receiving HTTP requests. It also contains the structure for listening on a port and sending requests to a delegate for processing. It can be used to create HTTP/CGI servers on specific ports, and provides HTTP functionality.\n\nWe expect most of our users to require higher level concepts such as routing, templates and middleware, these are not provided in Kitura-net, if you want to use those facilities you should be coding at the Kitura level, for this please see the [Kitura](https://github.com/Kitura/Kitura) project. Kitura-net underpins Kitura which offers a higher abstraction level to users.\n\nKitura-net utilises the [BlueSocket](https://github.com/Kitura/BlueSocket) framework, the [BlueSSLService](https://github.com/Kitura/BlueSSLService.git) framework and [CCurl](https://github.com/Kitura/CCurl.git).\n\n## Features\n\n- Port Listening\n- FastCGI Server support\n- HTTP Server support (request and response)\n\n## Usage\n\n#### Add dependencies\n\nAdd the `Kitura-net` package to the dependencies within your application’s `Package.swift` file. Substitute `\"x.x.x\"` with the latest `Kitura-net` [release](https://github.com/Kitura/Kitura-net/releases).\n\n```swift\n.package(url: \"https://github.com/Kitura/Kitura-net.git\", from: \"x.x.x\")\n```\n\nAdd `KituraNet` to your target's dependencies:\n\n```swift\n.target(name: \"example\", dependencies: [\"KituraNet\"]),\n```\n\n#### Import package\n\n  ```swift\n  import KituraNet\n  ```\n\n## Prerequisites\n\nAs of Kitura-net 3.0.0, Swift 5.1+ is required.\n\n\n## Contributing to Kitura-net\n\nAll improvements to Kitura-net are very welcome! Here's how to get started with developing Kitura-net itself.\n\n1. Clone this repository.\n\n`$ git clone https://github.com/Kitura/Kitura-net \u0026\u0026 cd Kitura-net`\n\n2. Build and run tests.\n\n`$ swift test`\n\nYou can find more info on contributing to Kitura in our [contributing guidelines](https://github.com/Kitura/Kitura/blob/master/.github/CONTRIBUTING.md).\n\n## API Documentation\nFor more information visit our [API reference](https://kitura.github.io/Kitura-net/index.html).\n\n## Community\n\nWe love to talk server-side Swift, and Kitura. Join our [Slack](http://swift-at-ibm-slack.mybluemix.net/) to meet the team!\n\n## License\nThis library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/Kitura/Kitura-net/blob/master/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKitura%2FKitura-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKitura%2FKitura-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKitura%2FKitura-net/lists"}