{
  "protocol_version": 1,
  "limits": {
    "frameBytes": 16384,
    "visitorText": 4000,
    "agentText": 10000,
    "attachmentsPerMessage": 5,
    "attachmentBytes": 10485760,
    "customDataBytes": 8192
  },
  "close_codes": {
    "4001": "auth_timeout",
    "4003": "auth_failed",
    "4004": "protocol_outdated",
    "4005": "session_replaced"
  },
  "error_codes": [
    "validation_error",
    "rate_limit_exceeded",
    "not_found",
    "unauthenticated",
    "invalid_visitor_token",
    "origin_not_allowed",
    "site_disabled",
    "invalid_app_key",
    "app_key_revoked",
    "conversation_closed",
    "file_too_large",
    "unsupported_file_type",
    "bad_frame",
    "error"
  ],
  "ping_interval_ms": 25000,
  "auth_timeout_ms": 5000,
  "request_timeout_ms": 10000,
  "backoff": {
    "base_ms": 500,
    "max_ms": 30000,
    "jitter_ms": 500,
    "immediate_on_close": [
      4005
    ]
  }
}
