Preparing search index...

    Class RemoteServiceHttpResponse

    The response returned by a RemoteServiceHttpRequest call.

    Lens Scripting Version 271

    Hierarchy (View Summary)

    Index

    Properties

    body: string

    The body of the response.

    Lens Scripting Version 271

    contentType: string

    the content type of the response.

    Lens Scripting Version 271

    headers: { [key: string]: string }

    The headers of the response.

    Lens Scripting Version 271

    statusCode: number

    The http response status code.

    Lens Scripting Version 271

    Methods

    • Get the result as a DynamicResource to be used with RemoteMediaModule.

      Returns DynamicResource

      Lens Scripting Version 271

    • Get the header of the response.

      Parameters

      • name: string

      Returns string

      Lens Scripting Version 271

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    • Returns Texture

      Lens Scripting Version 271