• Create an AxiosAdapter that will inject requests/responses into dispatchFunc via Light my Request.

    Parameters

    • dispatchFunc: DispatchFunc

      Listener function. The same as you would pass to http.createServer when making a node HTTP server.

    • opts: LightMyRequestAdapterOptions = {}

      Additional options

    Returns AxiosAdapter

    An AxiosAdapter