Documentation

RpcResponse extends Message
in package

Generated from protobuf message <code>livekit.RpcResponse</code>

Table of Contents

Properties

$request_id  : mixed
Generated from protobuf field <code>string request_id = 1 [(.logger.name) = "requestID"];</code>
$value  : mixed

Methods

__construct()  : mixed
Constructor.
getCompressedPayload()  : string
Compressed payload data. When set, this field is used instead of `payload`.
getError()  : RpcError|null
Generated from protobuf field <code>.livekit.RpcError error = 3;</code>
getPayload()  : string
Generated from protobuf field <code>string payload = 2;</code>
getRequestId()  : string
Generated from protobuf field <code>string request_id = 1 [(.logger.name) = "requestID"];</code>
getValue()  : string
hasCompressedPayload()  : mixed
hasError()  : mixed
hasPayload()  : mixed
setCompressedPayload()  : $this
Compressed payload data. When set, this field is used instead of `payload`.
setError()  : $this
Generated from protobuf field <code>.livekit.RpcError error = 3;</code>
setPayload()  : $this
Generated from protobuf field <code>string payload = 2;</code>
setRequestId()  : $this
Generated from protobuf field <code>string request_id = 1 [(.logger.name) = "requestID"];</code>

Properties

$request_id

Generated from protobuf field <code>string request_id = 1 [(.logger.name) = "requestID"];</code>

protected mixed $request_id = ''

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type string $request_id
@type string $payload
@type \Livekit\RpcError $error
@type string $compressed_payload
      Compressed payload data. When set, this field is used instead of `payload`.

}

getCompressedPayload()

Compressed payload data. When set, this field is used instead of `payload`.

public getCompressedPayload() : string

Generated from protobuf field bytes compressed_payload = 4;

Return values
string

getError()

Generated from protobuf field <code>.livekit.RpcError error = 3;</code>

public getError() : RpcError|null
Return values
RpcError|null

getPayload()

Generated from protobuf field <code>string payload = 2;</code>

public getPayload() : string
Return values
string

getRequestId()

Generated from protobuf field <code>string request_id = 1 [(.logger.name) = "requestID"];</code>

public getRequestId() : string
Return values
string

getValue()

public getValue() : string
Return values
string

hasCompressedPayload()

public hasCompressedPayload() : mixed

setCompressedPayload()

Compressed payload data. When set, this field is used instead of `payload`.

public setCompressedPayload(string $var) : $this

Generated from protobuf field bytes compressed_payload = 4;

Parameters
$var : string
Return values
$this

setError()

Generated from protobuf field <code>.livekit.RpcError error = 3;</code>

public setError(RpcError $var) : $this
Parameters
$var : RpcError
Return values
$this

setPayload()

Generated from protobuf field <code>string payload = 2;</code>

public setPayload(string $var) : $this
Parameters
$var : string
Return values
$this

setRequestId()

Generated from protobuf field <code>string request_id = 1 [(.logger.name) = "requestID"];</code>

public setRequestId(string $var) : $this
Parameters
$var : string
Return values
$this

        
On this page

Search results