swift-nio/Sources/NIOWebSocket
trungducc 8ad2549a49
Stop copying Strings into Arrays for SHA1 (#1413)
Motivation:

Resolve #1409

Modifications:

Using withContiguousStorageIfAvailable if string.utf8 supports an internal representation in a form. Otherwise, fall back to use withUnsafeBufferPointer.

Result:

Save an allocation for each hash function update
2020-02-25 08:52:36 +00:00
..
Base64.swift Faster Base64 Encoding for NIOWebsocket connections (#1328) 2019-12-24 12:41:43 +00:00
NIOWebSocketClientUpgrader.swift Correct NIOHTTPWebClientSocketUpgrader to NIOHTTPWebSocketClientUpgrader (#1336) 2020-01-15 09:24:50 +00:00
NIOWebSocketServerUpgrader.swift Add a WebSocket client upgrader. (#1038) 2019-07-08 03:55:02 -04:00
SHA1.swift Stop copying Strings into Arrays for SHA1 (#1413) 2020-02-25 08:52:36 +00:00
WebSocketErrorCodes.swift remove extension public/internal modifiers (#822) 2019-02-14 13:25:30 +00:00
WebSocketFrame.swift use Optional<T> instead of T? to workaround SR-11777 (#1252) 2019-11-27 18:37:38 +00:00
WebSocketFrameDecoder.swift remove WebSocketFrameDecoder inline error handling (#885) 2019-03-08 19:11:39 +00:00
WebSocketFrameEncoder.swift Support writing WS header to user buffer. (#1168) 2019-11-27 18:52:03 +00:00
WebSocketOpcode.swift remove extension public/internal modifiers (#822) 2019-02-14 13:25:30 +00:00
WebSocketProtocolErrorHandler.swift rename ctx to context (#842) 2019-02-25 18:20:22 +00:00