LeviLamina
Loading...
Searching...
No Matches
RakWebSocketClient Class Reference
+ Inheritance diagram for RakWebSocketClient:

Public Types

enum class  PacketDirection : int { Inward = 1 , Outward = 2 , Bothways = 3 }
 
enum class  ConnectionState : int {
  None = 0 , CloseHandshake = 1 , Starting = 2 , Connecting = 3 ,
  OpenHandshakeInit = 4 , OpenHandshakeAwait = 5 , OpenAndProcessing = 6
}
 

Public Member Functions

virtual void _updateState ()
 
virtual uint _genMaskingKey () const
 
MCAPI void $dtor ()
 
MCAPI void $_updateState ()
 
MCAPI uint $_genMaskingKey () const
 
virtual::WSConnectionResult connect (::std::string const &uri, ::std::vector<::std::string > const &subProtocols)
 
virtual::WSConnectionResult connect (::std::string const &uri)
 
virtual bool isReady () const
 
virtual void setOnMessageReceivedHandler (::std::function< void(::RakWebSocketDataFrame const &)> const &handler)
 
virtual void setOnCloseHandler (::std::function< void(::CloseStatusCode, ::std::string const &)> const &handler)
 
virtual void setOnConnectedHandler (::std::function< void(::std::string const &)> const &handler)
 
virtual void tick ()
 
MCAPI void _close (::CloseStatusCode code)
 
MCAPI void _createWebSocketKey ()
 
MCAPI void _fail (::std::string const &error, ::CloseStatusCode code)
 
MCAPI::std::string _generateBase64SHA1Key (::std::string const &key)
 
MCAPI void _processClosingHandshake (bool notifyHandler)
 
MCAPI void _processDataFrames (::RakNet::BitStream &newIncoming)
 
MCAPI bool _processPacket (::std::function< void(::RakNet::BitStream &)> const &processStep, bool acceptNewConnection)
 
MCAPI void _reset ()
 
MCAPI bool _sendControlFrame (uchar const *payload, uint64 size, ::OpCode opCode)
 
MCAPI bool _sendDataFrame (uchar const *payload, uint size, ::OpCode opCode, bool isFinalFragment)
 
MCAPI bool _sendNonControlFrame (uchar const *payload, uint64 size, ::OpCode opCode)
 
MCAPI void _splitWebSocketURI (::std::string const &uri, ::std::string &scheme, ::std::string &host, ::std::string &path)
 
MCAPI void _subProcessHttpResponse (::RakNet::BitStream &newIncoming)
 
MCAPI void _validateFields ()
 
MCAPI bool _validateWebSocketURI ()
 
MCAPI bool send (::std::string const &message)
 
MCAPI void * $ctor (::std::unique_ptr<::TcpProxy > proxy, bool isServer)
 
MCAPI::WSConnectionResult $connect (::std::string const &uri, ::std::vector<::std::string > const &subProtocols)
 
MCAPI::WSConnectionResult $connect (::std::string const &uri)
 
MCAPI bool $isReady () const
 
MCAPI void $setOnMessageReceivedHandler (::std::function< void(::RakWebSocketDataFrame const &)> const &handler)
 
MCAPI void $setOnCloseHandler (::std::function< void(::CloseStatusCode, ::std::string const &)> const &handler)
 
MCAPI void $setOnConnectedHandler (::std::function< void(::std::string const &)> const &handler)
 
MCAPI void $tick ()
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk8dc180
 
::ll::UntypedStorage< 8, 136 > mUnk33094b
 
::ll::UntypedStorage< 8, 288 > mUnkf81a14
 
::ll::UntypedStorage< 8, 32 > mUnk9fda3d
 
::ll::UntypedStorage< 2, 2 > mUnkd89728
 
::ll::UntypedStorage< 1, 1 > mUnk21496a
 
::ll::UntypedStorage< 4, 4 > mUnk353334
 
::ll::UntypedStorage< 8, 104 > mUnk36f6f3
 
::ll::UntypedStorage< 8, 32 > mUnk3e1e17
 
::ll::UntypedStorage< 1, 1 > mUnkecfccb
 
::ll::UntypedStorage< 8, 64 > mUnkbc67d8
 
::ll::UntypedStorage< 8, 64 > mUnkb91861
 
::ll::UntypedStorage< 8, 64 > mUnk1ffa0d
 
::ll::UntypedStorage< 8, 32 > mUnkd9cf46
 
::ll::UntypedStorage< 8, 32 > mUnk9c97f4
 
::ll::UntypedStorage< 8, 32 > mUnke28242
 
::ll::UntypedStorage< 8, 32 > mUnkeb54d8
 
::ll::UntypedStorage< 8, 32 > mUnk4a88f7
 
::ll::UntypedStorage< 2, 2 > mUnkc7a25d
 
::ll::UntypedStorage< 1, 1 > mUnk67328e
 
::ll::UntypedStorage< 8, 32 > mUnk60a8e6
 
::ll::UntypedStorage< 8, 32 > mUnka50af4
 
::ll::UntypedStorage< 8, 32 > mUnkb0ccf9
 
::ll::UntypedStorage< 8, 128 > mUnk6c717f
 
::ll::UntypedStorage< 8, 8 > mUnk5f029b
 
::ll::UntypedStorage< 8, 24 > mUnk9ddaab
 
::ll::UntypedStorage< 4, 4 > mUnk8a7ba4
 

Member Function Documentation

◆ _updateState()

virtual void RakWebSocketClient::_updateState ( )
virtual

Implements RakWebSocket.

◆ _genMaskingKey()

virtual uint RakWebSocketClient::_genMaskingKey ( ) const
virtual

Implements RakWebSocket.


The documentation for this class was generated from the following file: