OHProtocolType

Objective-C

enum OHProtocolType : NSUInteger {}

Swift

enum ProtocolType : UInt

Represents protocol types that can be used during session.

  • Default connection.

    Declaration

    Objective-C

    OHProtocolTypeDefault = 0

    Swift

    case `default` = 0
  • TCP/IP connection to local or remote server.

    Declaration

    Objective-C

    OHProtocolTypeTCP

    Swift

    case TCP = 1