generated from pure_sagacity/turborepo-starter-project
everything but the leave works yall
This commit is contained in:
@@ -9,3 +9,7 @@ websocket:
|
||||
type: json
|
||||
data: "{}"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
timeout: 0
|
||||
keepAliveInterval: 0
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
info:
|
||||
name: join
|
||||
type: websocket
|
||||
seq: 3
|
||||
|
||||
websocket:
|
||||
url: ws://localhost:3000/realtime
|
||||
message:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"type": "join",
|
||||
"username": "camila",
|
||||
"roomId": "67676767676767"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
timeout: 0
|
||||
keepAliveInterval: 0
|
||||
@@ -0,0 +1,20 @@
|
||||
info:
|
||||
name: leave
|
||||
type: websocket
|
||||
seq: 6
|
||||
|
||||
websocket:
|
||||
url: ws://localhost:3000/realtime
|
||||
message:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"type": "leave",
|
||||
"username": "camila",
|
||||
"roomId": "67676767676767"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
timeout: 0
|
||||
keepAliveInterval: 0
|
||||
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
name: message
|
||||
type: websocket
|
||||
seq: 5
|
||||
|
||||
websocket:
|
||||
url: ws://localhost:3000/realtime
|
||||
message:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"type": "message",
|
||||
"username": "bob",
|
||||
"roomId": "67676767676767",
|
||||
"m": {
|
||||
"id": 1,
|
||||
"roomId": "67676767676767",
|
||||
"username": "bob",
|
||||
"content": "I alone am the honored one.",
|
||||
"timestamp": 1784349801729,
|
||||
"deleted": false
|
||||
}
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
timeout: 0
|
||||
keepAliveInterval: 0
|
||||
@@ -0,0 +1,18 @@
|
||||
info:
|
||||
name: rooms
|
||||
type: websocket
|
||||
seq: 4
|
||||
|
||||
websocket:
|
||||
url: ws://localhost:3000/realtime
|
||||
message:
|
||||
type: text
|
||||
data: |-
|
||||
{
|
||||
"type": "rooms"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
timeout: 0
|
||||
keepAliveInterval: 0
|
||||
Reference in New Issue
Block a user