Swiftpack.co - Package - IBM-Swift/Kitura-net


Docs Build Status - Master macOS Linux Apache 2 Slack Status


The 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.

We 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 project. Kitura-net underpins Kitura which offers a higher abstraction level to users.

Kitura-net utilises the BlueSocket framework, the BlueSSLService framework and CCurl.


  • Port Listening
  • FastCGI Server support
  • HTTP Server support (request and response)

Getting Started

Visit www.kitura.io for reference documentation.

Contributing to Kitura-net

All improvements to Kitura-net are very welcome! Here's how to get started with developing Kitura-net itself.

  1. Clone this repository.

$ git clone https://github.com/IBM-Swift/Kitura-net && cd Kitura-net

  1. Build and run tests.

$ swift test

You can find more info on contributing to Kitura in our contributing guidelines.


We love to talk server-side Swift, and Kitura. Join our Slack to meet the team!


Stars: 69
Help us keep the lights on


2.1.0 - Apr 16, 2018

  • Add class property on HTTPStatusCode and Class enum, to enable querying of the class that a status code belongs to (#246, successor to #240)
  • Update dependencies for Swift 4.1 (#250)

2.0.4 - Feb 26, 2018

  • Support Swift 4.1 (#242)

2.0.2 - Feb 22, 2018

  • Increase number of GCD read queues (#235)

2.0.0 - Nov 17, 2017

Migrated repo to Swift 4.0.2.

1.7.20 - Nov 10, 2017

  • Close Keep-Alive connections following a parser error (#232)
  • Support HTTP Pipelining (#229)