• Get the result of the Response. It also handles multiline responses, e. g. a PHP Notice: message is output through a conflicting plugin:

    If you are using a verb like DELETE or PUT the response may be empty and this function will return undefined.

    Type Parameters

    • TResponse extends IRouteResponseInterface

    Parameters

    • url: string
    • result: Response
    • Optional method: ERouteHttpVerb

    Returns Promise<TResponse>