A11 TypeScript API - v0.2.1
A11 guides
Python API
C++ internals
Preparing search index...
validateA11Peer
Function validateA11Peer
validateA11Peer
(
peer
:
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
,
)
:
StatusOr
<
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
,
>
Enforce the cross-field invariants the Python model validates.
Parameters
peer
:
{
endpoint
:
string
;
identity
:
string
;
protocol
:
"a11"
|
"mcp"
;
scheme
:
"session"
|
"rtc"
|
"http"
|
"https"
|
"ws"
|
"wss"
;
}
Returns
StatusOr
<
{
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.2.1
Loading...
Enforce the cross-field invariants the Python model validates.