mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
76b75dbb9b
* Documentation Outline * Spacing adjustments * Captured old wiki content * yml fix * Docs work * resize images * Replaced images * Removed md from links * Renamed Misty to Fizzy * Captured Unity docs * links cleanup * clear links * Cleanup and moved NetworkBehavior to Classes. * added slashes to yml paths * reverted slashes * Fixes bad link * Update Ignorance.md This should be enough documentation for now, yeah? * Localized images * Update Ignorance.md formatting updates * Lots of Cleanup * fix link * Formatting * fix code blocks * Lots of content and cleanup * fixed yml * Added blank line * Added spaces in titles * tightened bullets * Fixed bullet spacing * Fixed more bullets * unbolded content * Cleanup and removal of empty pages Updated README with links to docs pages * Restored prior version * Contributing * Improvements to content * lower case fix * fix link * renamed Contributions * fixed link * home page content * Fixed Encoding * Moved Why TCP * Replaced Unity with Mirror * Telepathy Description * changed to h2 * Moved Sample down * Removed dead links * Copied Contributions Added Test Fixed h3's * Fixed headings * added to Test * Fixed image alts and links * fixed last alt
1.3 KiB
1.3 KiB
NetworkServer
NetworkServer is a High-Level-API class that manages connections from multiple clients.
Properties
- active
Checks if the server has been started. - connections
A list of all the current connections from clients. - dontListen
If you enable this, the server will not listen for incoming connections on the regular network port. - handlers
Dictionary of the message handlers registered with the server. - hostTopology
The host topology that the server is using. - listenPort
The port that the server is listening on. - localClientActive
True if a local client is currently active on the server. - localConnections
A list of local connections on the server. - maxDelay
The maximum delay before sending packets on connections. - networkConnectionClass
The class to be used when creating new network connections. - numChannels
The number of channels the network is configure with. - objects
This is a dictionary of networked objects that have been spawned on the server. - serverHostId
The transport layer hostId used by this server. - useWebSockets
This makes the server listen for WebSockets connections instead of normal transport layer connections.