Crate naia_socket_shared

Crate naia_socket_shared 

Source
Expand description

§Naia Socket Shared

Common data types shared between Naia Server Socket & Naia Client Socket

Modules§

link_condition_logic
Logic shared between client & server sockets related to simulating network conditions

Structs§

ChannelClosedError
Instant
Represents a specific moment in time
LinkConditionerConfig
Contains configuration required to initialize a LinkConditioner
Random
Container for cross-platform Random methods
SocketConfig
Contains Config properties which will be shared by Server and Client sockets
TimeQueue
A queue for items marked by time, will only ever pop items from the queue if the time passes

Functions§

generate_identity_token
parse_server_url
url_to_socket_addr

Type Aliases§

IdentityToken