phasync
ServerInterface / run

Method

ServerInterface::run

Accept and serve connections until drained.

Description#

public ServerInterface::run(): void

Returns once ServerInterface::drain was called and every connection has ended. Call it from inside phasync::run(), after ServerInterface::listen.