Skip to content

Mirror::SimpleWeb::WebSocketClientWebGl

Inherits from SimpleWebClient

Public Functions

Name
bool CheckJsConnected()
virtual override void Connect(Uri serverAddress)
virtual override void Disconnect()
virtual override void Send(ArraySegment< byte > segment)

Additional inherited members

Public Events inherited from SimpleWebClient

Name
Action onConnect()
Action onDisconnect()
Action< ArraySegment< byte > > onData()
Action< Exception > onError()

Public Functions inherited from SimpleWebClient

Name
SimpleWebClient Create(int maxMessageSize, int maxMessagesPerTick, TcpConfig tcpConfig)
void ProcessMessageQueue(MonoBehaviour behaviour)

Protected Functions inherited from SimpleWebClient

Name
SimpleWebClient(int maxMessageSize, int maxMessagesPerTick)

Public Attributes inherited from SimpleWebClient

Name
ClientState ConnectionState

Protected Attributes inherited from SimpleWebClient

Name
readonly int maxMessageSize
readonly ConcurrentQueue< Message > receiveQueue
readonly BufferPool bufferPool
ClientState state

Public Functions Documentation

function CheckJsConnected

bool CheckJsConnected()

function Connect

inline virtual override void Connect(
    Uri serverAddress
)

Reimplements: Mirror::SimpleWeb::SimpleWebClient::Connect

function Disconnect

inline virtual override void Disconnect()

Reimplements: Mirror::SimpleWeb::SimpleWebClient::Disconnect

function Send

inline virtual override void Send(
    ArraySegment< byte > segment
)

Reimplements: Mirror::SimpleWeb::SimpleWebClient::Send


Updated on 22 January 2021 at 08:52:38 UTC