Class RemoteServiceHttpRequestWearable Only Camera Kit

A http request which can be sent using the RemoteServiceModule.

Hierarchy (View Summary, Expand)

Constructors

Properties

body: string | number[] | Uint8Array<ArrayBufferLike>

The body of the http request.

contentType: string

The content type of the http request.

headers: object

The headers of the http request.

The method which should be used to send this http request.

url: string

The URL which this http request should point to.

Methods

  • Get the header of the http request.

    Parameters

    • name: string

    Returns string

  • 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

  • Set the header of the http request.

    Parameters

    • name: string
    • value: string

    Returns void

MMNEPVFCICPMFPCPTTAAATR