pub /send
sub /id
@MessageMapping(”/chatting”)
보낼 때 /send/chatting
받을 때 /id/{liveId}
Header
"Authorization": "Bearer eyJhbGciOiJIUzI1NiJ9.eyJtZW1iZXJJZCI6MTUsImVtYWlsIjoidGVzdHRlc3RAZXhhbXBsZS5jb20iLCJyb2xlIjoiQ09NTU9OIiwiaXNzIjoicGFzaWxhIiwiaWF0IjoxNzA3ODczODA4LCJleHAiOjE3MDc5NjAyMDh9.AnWcaH4cK_mGaGcZJ2PfYS3j4RO689P9wjvO0jRHues",
JSON
복사
key : Authrization
value : Bearer example
Bearer 한칸 띄우고 Token
Request
•
body
{
"liveId": "string"
"message": "string"
}
JSON
복사
Response
{
"liveId": "string",
"message": "string",
"name": "string",
"profile" : "string"
}
JSON
복사