Listener -
http
: Listener
This is used for creating HTTP server endpoints. An HTTP server endpoint is capable of responding to
remote callers. The Listener
is responsible for initializing the endpoint using the provided configurations.
Constructor
__init
(int port, ListenerConfiguration? config)
- port int
- config ListenerConfiguration? ()
Methods
__gracefulStop
__immediateStop
__detach
init
Gets invoked during module initialization to initialize the endpoint.
initEndpoint
LifeCycle Methods
Methods
Gets invoked during module initialization to initialize the endpoint.
Parameters
- c ListenerConfiguration
-
Configurations for HTTP service endpoints