mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 14:20:01 -04:00
WIP on websocket impl
This commit is contained in:
parent
07b0ba3a07
commit
f64cc78f9f
6 changed files with 91 additions and 28 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue