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
= ''
$value
protected
mixed
$value
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|nullgetPayload()
Generated from protobuf field <code>string payload = 2;</code>
public
getPayload() : string
Return values
stringgetRequestId()
Generated from protobuf field <code>string request_id = 1;</code>
public
getRequestId() : string
Return values
stringgetValue()
public
getValue() : string
Return values
stringhasError()
public
hasError() : mixed
hasPayload()
public
hasPayload() : mixed
setError()
Generated from protobuf field <code>.livekit.RpcError error = 3;</code>
public
setError(RpcError $var) : $this
Parameters
- $var : RpcError
Return values
$thissetPayload()
Generated from protobuf field <code>string payload = 2;</code>
public
setPayload(string $var) : $this
Parameters
- $var : string
Return values
$thissetRequestId()
Generated from protobuf field <code>string request_id = 1;</code>
public
setRequestId(string $var) : $this
Parameters
- $var : string