A11 TypeScript API - v0.7.0
A11 guides
Python API
C++ internals
Preparing search index...
asPeerValue
Function asPeerValue
asPeerValue
(
peer
:
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
,
)
:
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
Brand a peer so it serializes as
a11.sdk.Peer
.
Parameters
peer
:
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
Returns
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
A11 guides
Python API
C++ internals
A11 TypeScript API - v0.7.0
Loading...
Brand a peer so it serializes as
a11.sdk.Peer.