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.

Methods

__gracefulStop

()

returns error

  • Return Type

    (error)

__immediateStop

()

returns error

  • Return Type

    (error)

__detach

(service s)

returns error

Parameters

  • s service
  • Return Type

    (error)

init

Gets invoked during module initialization to initialize the endpoint.

Parameters

initEndpoint

()

returns error

  • Return Type

    (error)

LifeCycle Methods

__start

()

returns error

  • Return Type

    (error)

__attach

(service s, string name)

returns error

Parameters

  • s service
  • name string (default ())
  • Return Type

    (error)