sendCustom method

Channel sendCustom(
  1. String message
)

커스텀 이벤트 발송

Implementation

Channel sendCustom(String message) {
  _send({
    "type": "send",
    "address": "c2s.sendcustom",
    "headers": {},
    "body": {
      "nickName": user?.nickName,
      "roomId": roomId,
      "clientKey": user?.clientKey,
      "message": message,
      "mimeType": MimeType.text.type,
    },
  });

  return this;
}