Documentation

RpcRequest extends Message
in package

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

Table of Contents

Properties

$id  : mixed
Generated from protobuf field <code>string id = 1;</code>
$method  : mixed
Generated from protobuf field <code>string method = 2;</code>
$payload  : mixed
Generated from protobuf field <code>string payload = 3;</code>
$response_timeout_ms  : mixed
Generated from protobuf field <code>uint32 response_timeout_ms = 4;</code>
$version  : mixed
Generated from protobuf field <code>uint32 version = 5;</code>

Methods

__construct()  : mixed
Constructor.
getId()  : string
Generated from protobuf field <code>string id = 1;</code>
getMethod()  : string
Generated from protobuf field <code>string method = 2;</code>
getPayload()  : string
Generated from protobuf field <code>string payload = 3;</code>
getResponseTimeoutMs()  : int
Generated from protobuf field <code>uint32 response_timeout_ms = 4;</code>
getVersion()  : int
Generated from protobuf field <code>uint32 version = 5;</code>
setId()  : $this
Generated from protobuf field <code>string id = 1;</code>
setMethod()  : $this
Generated from protobuf field <code>string method = 2;</code>
setPayload()  : $this
Generated from protobuf field <code>string payload = 3;</code>
setResponseTimeoutMs()  : $this
Generated from protobuf field <code>uint32 response_timeout_ms = 4;</code>
setVersion()  : $this
Generated from protobuf field <code>uint32 version = 5;</code>

Properties

$id

Generated from protobuf field <code>string id = 1;</code>

protected mixed $id = ''

$method

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

protected mixed $method = ''

$payload

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

protected mixed $payload = ''

$response_timeout_ms

Generated from protobuf field <code>uint32 response_timeout_ms = 4;</code>

protected mixed $response_timeout_ms = 0

$version

Generated from protobuf field <code>uint32 version = 5;</code>

protected mixed $version = 0

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 $id
@type string $method
@type string $payload
@type int $response_timeout_ms
@type int $version

}

getId()

Generated from protobuf field <code>string id = 1;</code>

public getId() : string
Return values
string

getMethod()

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

public getMethod() : string
Return values
string

getPayload()

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

public getPayload() : string
Return values
string

getResponseTimeoutMs()

Generated from protobuf field <code>uint32 response_timeout_ms = 4;</code>

public getResponseTimeoutMs() : int
Return values
int

getVersion()

Generated from protobuf field <code>uint32 version = 5;</code>

public getVersion() : int
Return values
int

setId()

Generated from protobuf field <code>string id = 1;</code>

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

setMethod()

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

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

setPayload()

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

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

setResponseTimeoutMs()

Generated from protobuf field <code>uint32 response_timeout_ms = 4;</code>

public setResponseTimeoutMs(int $var) : $this
Parameters
$var : int
Return values
$this

setVersion()

Generated from protobuf field <code>uint32 version = 5;</code>

public setVersion(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results