Lens Scripting API

    Class RemoteServiceHttpRequestWearable Only Camera Kit

    A http request which can be sent using the RemoteServiceModule.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

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

    The body of the http request.

    contentType: string

    The content type of the http request.

    headers: any

    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

    • Wearable Only Camera Kit

      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

    • Wearable Only Camera Kit

      Set the header of the http request.

      Parameters

      • name: string
      • value: string

      Returns void

    MMNEPVFCICPMFPCPTTAAATR