Skip to content

NotificationWebSocket #51

@pcochoco

Description

@pcochoco

채팅 자체와 다른 기능이므로 NotificationWebSocketConfig으로 구분해 클래스 생성

  • WebSocket cors 설정 프론트 경로 정해지면 변경할 것

CorsConfig(HTTP)와 별도로 필요
.setAllowedOriginPatterns("*")

  • client에서 server로 메시지 보내는 경우 prefix "/app"
    *WebSocket 연결은 "/ws/payment"

회원별로 각자 동작과 이벤트 발생에 따른 알림을 받음
-> 알림은 회원별로 구분됨
-> /payment/user과 같이 client 구독 경로 설정

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions