WIP on websocket impl

This commit is contained in:
Spencer Pogorzelski 2023-08-13 19:06:52 -07:00
parent 07b0ba3a07
commit f64cc78f9f
6 changed files with 91 additions and 28 deletions

View file

@ -34,4 +34,14 @@ export type HTTPResponsePayload = {
headers: ProtoBareHeaders;
};
export type C2SWSOpenPayload = {
url: string;
};
export type S2CWSClosePayload = {
code: number;
reason: string;
wasClean: boolean;
};
export { Transport } from "./Transport";