Documentation
¶
Overview ¶
Package protocolschema validates untrusted WebSocket frames against the schema-owned RPC contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMethodResult ¶
ValidateMethodResult validates a successful response using the result type bound to method.
func ValidateWireFrame ¶
ValidateWireFrame validates a JSON-RPC message against the schema bound to its method: a business request's params.input, or an extension notification's params. Generated Go/TypeScript types cannot validate bytes supplied by a peer.
Types ¶
This section is empty.