This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NIOCore | |
import NIOHTTP1 | |
import NIOPosix | |
/// Sendable server response that doesn't use ``IOData`` | |
public typealias SendableHTTPServerResponsePart = HTTPPart<HTTPResponseHead, ByteBuffer> | |
/// Channel to convert HTTPServerResponsePart to the Sendable type HBHTTPServerResponsePart | |
final class HTTPSendableResponseChannelHandler: ChannelOutboundHandler, RemovableChannelHandler { | |
typealias OutboundIn = SendableHTTPServerResponsePart |
OlderNewer