init(childChannelSetup:configuration:onServerRunning:eventLoopGroup:logger:)

Initialize Server

Server.swift:81
init(childChannelSetup: ChildChannel, configuration: ServerConfiguration, onServerRunning: ((any Channel) async -> Void)? = nil, eventLoopGroup: any EventLoopGroup, logger: Logger)

Parameters

childChannelSetup

Server child channel

configuration

Configuration for server

onServerRunning

Closure to run once server is up and running

eventLoopGroup

EventLoopGroup the server uses

logger

Logger used by server