import * as cav from "https://deno.land/x/cav@0.0.14/client.ts";
Functions
Constructs a new Client tied to a given base URL. The provided set of packers will be used everywhere that data is packed/unpacked when using this client, including web sockets. | |
Wraps a regular WebSocket with packing functionality and type support. |
Interfaces
Client type representing an Rpc endpoint. Uses the Rpc type definition to determine what the expected arguments and response types are. | |
Initializer arguments for constructing HttpErrors. | |
Cav's WebSocket wrapper interface. | |
Initializer options to use when upgrading a request into a web socket using
the |
Type Aliases
Type that matches any socket. Useful for type constraints. | |
A Proxied function that wraps | |
Uses the RpcInit type imported from the server to determine what shape the arguments should be in when making requests to a given Rpc. | |