NetworkProtocol

public enum NetworkProtocol

This enum describes a single network protocol data model

  • Unencrypted HTTP.

    Declaration

    Swift

    case HTTP(port: Int, isEnabled: Bool)

    Parameters

    port

    The TCP Port of this service.

    isEnabled

    True, if the service is enabled.

  • Encrypted HTTPS.

    Declaration

    Swift

    case HTTPS(port: Int, isEnabled: Bool)

    Parameters

    port

    The TCP Port of this service.

    isEnabled

    True, if the service is enabled.

  • RTSP Streaming.

    Declaration

    Swift

    case RTSP(port: Int, isEnabled: Bool)

    Parameters

    port

    The TCP Port of this service.

    isEnabled

    True, if the service is enabled.