parser-multipart
    Preparing search index...

    Class ResponseParsed

    Implements

    • Response
    Index

    Constructors

    Accessors

    • get body(): ReadableStream<Uint8Array<ArrayBuffer>> | null

      Returns ReadableStream<Uint8Array<ArrayBuffer>> | null

    • get headers(): Headers

      The headers read-only property of the Response interface contains the Headers object associated with the response.

      MDN Reference

      Returns Headers

    • get ok(): boolean

      The ok read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.

      MDN Reference

      Returns boolean

    • get redirected(): boolean

      The redirected read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.

      MDN Reference

      Returns boolean

    • get status(): number

      The status read-only property of the Response interface contains the HTTP status codes of the response.

      MDN Reference

      Returns number

    • get statusText(): string

      The statusText read-only property of the Response interface contains the status message corresponding to the HTTP status code in Response.status.

      MDN Reference

      Returns string

    • get type(): ResponseType

      The type read-only property of the Response interface contains the type of the response. The type determines whether scripts are able to access the response body and headers.

      MDN Reference

      Returns ResponseType

    • get url(): string

      The url read-only property of the Response interface contains the URL of the response. The value of the url property will be the final URL obtained after any redirects.

      MDN Reference

      Returns string

    Methods

    • The clone() method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.

      MDN Reference

      Returns Response