ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
XmobiTea.ProtonNet.Client.WebApi Namespace Reference

Classes

class  AbstractWebApiClientPeer
 Abstract base class for a Web API client peer, implementing common functionality and providing a base for more specific Web API client peer implementations. More...
 
class  HttpClientClientPeer
 Represents a Web API client peer that communicates with the server using HTTP. Inherits from AbstractWebApiClientPeer and implements the IWebApiClientPeer interface. More...
 
interface  IWebApiClientPeer
 Interface for a Web API client peer, extending the basic client peer functionality with additional methods specific to Web API operations. More...
 

Functions

delegate void OnGetTsResponse (long currentMilliseconds)
 Delegate for handling timestamp responses from the server.
 
delegate void OnPingResponse (bool status)
 Delegate for handling ping responses from the server.
 
delegate void OnError (System.Net.Sockets.SocketError error)
 Delegate for handling errors during socket operations.
 

Function Documentation

◆ OnError()

delegate void XmobiTea.ProtonNet.Client.WebApi.OnError ( System.Net.Sockets.SocketError error)

Delegate for handling errors during socket operations.

Parameters
errorThe socket error encountered.

◆ OnGetTsResponse()

delegate void XmobiTea.ProtonNet.Client.WebApi.OnGetTsResponse ( long currentMilliseconds)

Delegate for handling timestamp responses from the server.

Parameters
currentMillisecondsThe current time in milliseconds returned by the server.

◆ OnPingResponse()

delegate void XmobiTea.ProtonNet.Client.WebApi.OnPingResponse ( bool status)

Delegate for handling ping responses from the server.

Parameters
statusThe status of the ping request, indicating success or failure.