Function: listenAddressSchema()
Build a transport-aware listener schema. Bare addresses use the configured default scheme.
Call Signature
Section titled “Call Signature”listenAddressSchema(
options):ZodType<ListenAddress,unknown>
Parameters
Section titled “Parameters”options
Section titled “options”ListenAddressOptions & object
Returns
Section titled “Returns”ZodType<ListenAddress, unknown>
Call Signature
Section titled “Call Signature”listenAddressSchema(
options):ZodDefault<ZodType<ListenAddress,unknown,$ZodTypeInternals<ListenAddress,unknown>>>
Parameters
Section titled “Parameters”options
Section titled “options”ListenAddressOptions & object
Returns
Section titled “Returns”ZodDefault<ZodType<ListenAddress, unknown, $ZodTypeInternals<ListenAddress, unknown>>>
Call Signature
Section titled “Call Signature”listenAddressSchema(
options):ZodType<{host:string;port:number;scheme:"tcp"; },unknown>
Parameters
Section titled “Parameters”options
Section titled “options”ListenAddressOptions & object
Returns
Section titled “Returns”ZodType<{ host: string; port: number; scheme: "tcp"; }, unknown>
Call Signature
Section titled “Call Signature”listenAddressSchema(
options):ZodDefault<ZodType<{host:string;port:number;scheme:"tcp"; },unknown,$ZodTypeInternals<{host:string;port:number;scheme:"tcp"; },unknown>>>
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”ZodDefault<ZodType<{ host: string; port: number; scheme: "tcp"; }, unknown, $ZodTypeInternals<{ host: string; port: number; scheme: "tcp"; }, unknown>>>