Skip to main content

createAction

Callable


  • responds with the correct service depending on the action


    Parameters

    • opts: ServiceOptions

      options to pass Service

    • req: IncomingMessage

      http request object

    • res: ServerResponse

      http response

    Returns Service