mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
Motivation: Websockets is a major protocol in use on the web today, and is particularly valuable in applications that use asynchronous I/O as it allows servers to keep connections open for long periods of time for fully-duplex communication. Users of NIO should be able to build websocket clients and servers without too much difficulty. Modifications: Provided a WebsocketFrameEncoder and Decoder that can serialize and deserialize Websocket frames. Result: Easier use of websockets.