@minecraft/server-net
    Preparing search index...

    Class HttpResponseBeta

    Main object that contains result information from a request.

    Index

    Properties

    body: string

    Body content of the HTTP response.

    headers: HttpHeader[]

    A collection of HTTP response headers returned from the request.

    request: HttpRequest

    Information that was used to formulate the HTTP response that this object represents.

    status: number

    HTTP response code for the request. For example, 404 represents resource not found, and 500 represents an internal server error.

    Methods

    • Beta

      Parameters

      • identifier: string

      Returns ISerializable

      This function can't be called in restricted-execution mode.

      This function can throw errors.

      SerializableParseError