Preparing search index...

    Represents an in-progress HTTP response, providing signals for receiving streamed data, completion, and errors.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    onData: signal1<Buffer, void>

    Signal fired when a chunk of response data is received, providing an Editor.Buffer with the chunk contents.

    onEnd: signal1<HttpResponse, void>

    Signal fired when the HTTP response has fully completed, providing the final HttpResponse.

    onError: signal1<HttpResponse, void>

    Signal fired when the HTTP request encounters an error, providing the HttpResponse with error details.

    Methods

    • Beta

      Returns the name of this object's type.

      Returns string

    • Beta

      Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean