updated docs

This commit is contained in:
Evil Factory
2021-09-22 13:27:31 -03:00
parent 88eb227284
commit 772edcfe5b
5 changed files with 64 additions and 13 deletions

View File

@@ -16,4 +16,21 @@ function Networking.RequestPostHTTP(url, textData, contentType) end
--- Send a get HTTP Request.
-- treturn string result.
-- @realm server
function Networking.RequestGetHTTP(url) end
function Networking.RequestGetHTTP(url) end
--- Creates a new net message, returns an IWriteMessage
-- treturn IWriteMessage netMessage
-- @realm shared
function Networking.Start(netMessageName) end
--- Sends a net message to the server.
-- @realm client
function Networking.Send(netMessage, deliveryMethod) end
--- Sends a net message to a connection, if the connection is null, then it sends the message to all connections
-- @realm server
function Networking.Send(netMessage, connection, deliveryMethod) end
--- Adds a function to listen for lua net messages
-- @realm shared
function Networking.Receive(netMessageName, callback) end