Skip to content

Mirror::SimpleWeb::ServerHandshake

Handles Handshakes from new clients on the server More...

Public Functions

Name
ServerHandshake(BufferPool bufferPool, int handshakeMaxSize)
bool TryHandshake(Connection conn)

Detailed Description

class Mirror::SimpleWeb::ServerHandshake;

Handles Handshakes from new clients on the server

The server handshake has buffers to reduce allocations when clients connect

Public Functions Documentation

function ServerHandshake

inline ServerHandshake(
    BufferPool bufferPool,
    int handshakeMaxSize
)

function TryHandshake

inline bool TryHandshake(
    Connection conn
)

Updated on 25 January 2021 at 10:58:39 UTC