Type alias ResponseHandler

ResponseHandler: ((resp) => Promise<IOResult>)

Type declaration

    • (resp): Promise<IOResult>
    • A function that parses the raw response to something your Bus can handle (i.e, gets the body and parses it to JSON)

      Parameters

      • resp: Response

      Returns Promise<IOResult>

Generated using TypeDoc