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;</code>
$value  : mixed

Methods

__construct()  : mixed
Constructor.
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;</code>
getValue()  : string
hasError()  : mixed
hasPayload()  : mixed
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;</code>

Properties

$request_id

Generated from protobuf field <code>string request_id = 1;</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

}

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;</code>

public getRequestId() : string
Return values
string

getValue()

public getValue() : string
Return values
string

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;</code>

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

        
On this page

Search results