Variable PingRequestSchemaConst
PingRequestSchema: ZodObject<
extendShape<
{
method: ZodString;
params: ZodOptional<
ZodObject<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<(...)> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
"passthrough",
ZodTypeAny,
objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
objectInputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<(...)> },
"passthrough",
ZodTypeAny,
objectOutputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
objectInputType<{ progressToken: ... }, ZodTypeAny, "passthrough">,
>,
>;
},
ZodTypeAny,
"passthrough",
>,
>,
>;
},
{ method: ZodLiteral<"ping"> },
>,
"strip",
ZodTypeAny,
{
method: "ping";
params?: objectOutputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
ZodTypeAny,
"passthrough",
>;
},
{
method: "ping";
params?: objectInputType<
{
_meta: ZodOptional<
ZodObject<
{ progressToken: ZodOptional<ZodUnion<[(...), (...)]>> },
"passthrough",
ZodTypeAny,
objectOutputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
objectInputType<
{ progressToken: ZodOptional<ZodUnion<(...)>> },
ZodTypeAny,
"passthrough",
>,
>,
>;
},
ZodTypeAny,
"passthrough",
>;
},
> = ...
A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.