init(validatingGroup:childGroup:)

    Create a ServerBootstrap on the EventLoopGroup group which accepts Channels on childGroup, validating that the EventLoopGroups are compatible with ServerBootstrap.

    Bootstrap.swift:139
    init?(validatingGroup group: EventLoopGroup, childGroup: EventLoopGroup? = nil)

    Parameters

    group

    The EventLoopGroup to use for the bind of the ServerSocketChannel and to accept new SocketChannels with.

    childGroup

    The EventLoopGroup to run the accepted SocketChannels on. If nil, group is used.

    Other members in extension

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces