跳转到内容

default

此内容尚不支持你的语言。

default: Definition<{
allowedOrigins?: readonly string[];
authorization?: {
scopes: readonly string[];
};
path: `/${string}`;
},
| {
allowedOrigins?: readonly string[];
authorization?: {
scopes: readonly string[];
};
path?: `/${string}`;
}
| undefined, SchemaError | IllegalArgumentError>;

Defined in: http.ts:32

Streamable HTTP routes; listeners remain independent of this transport.