Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ResponseMessage

Resposen message for user request. Response message to not provide any other information except request id and message type. Basic flow to all request/response are:

  • client sent request
  • server respond with json path to all user sessions (to sync data across browsers)
  • server respond with response message

Hierarchy

Index

Properties

Properties

forId

forId: number

Identifier of original request

type

type: string

All messages are identified by type. Read about discriminated unions first

link

https://www.typescriptlang.org/docs/handbook/advanced-types.html#discriminated-unions

Generated using TypeDoc