HBChannelInitializer

public protocol HBChannelInitializer

HTTPServer child channel initializer protocol

  • Initialize channel

    Declaration

    Swift

    func initialize(channel: Channel, childHandlers: [RemovableChannelHandler], configuration: HBHTTPServer.Configuration) -> EventLoopFuture<Void>

    Parameters

    channel

    channel

    childHandlers

    Channel handlers to add

    configuration

    server configuration