NAME

gc_protocols - Protocol which will be used for a new connection.

SYNOPSIS

#include <game-carrier/common.h>

enum gc_protocols {
    GC_PROTOCOL_WSS = 0,
    GC_PROTOCOL_WS = 1,
    GC_PROTOCOL_QUIC = 2,
    GC_PROTOCOL_TCP = 3,
    GC_PROTOCOL_UDP = 4,
    GC_PROTOCOL_HTTP = 5,
    GC_PROTOCOL_HTTPS = 6,
    GC_PROTOCOLS_COUNT
};

DESCRIPTION

Name Value Description
GC_PROTOCOL_WSS 0 The Web Socket Secure (WSS) protocol.
GC_PROTOCOL_WS 1 The Web Socket (WS) unencrypted protocol.
GC_PROTOCOL_QUIC 2 For internal usage only.
GC_PROTOCOL_TCP 3 For internal usage only.
GC_PROTOCOL_UDP 4 For internal usage only.
GC_PROTOCOL_HTTP 5 For internal usage only.
GC_PROTOCOL_HTTPS 6 For internal usage only.
GC_PROTOCOLS_COUNT 7 Total number of available protocols.

SEE ALSO

gc_client_start, s2sCreate