ProtocolType
ENTERPRISE EDITION API
The protocol type of the data transportation.
Entries
MESSAGE protocol means that Core callbacks contain exactly the data that needs to be transferred. Core does not format the data in any way.
BYTE protocol means that Core knows that this is a web socket connection. The data with which Core calls us contains the properly framed message, heartbeats and so on. ... we don't use this because that would be too easy, right? Mostly, though, OkHttp wants to frame the data.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.
Returns an array containing the constants of this enum type, in the order they're declared.