HTTPService
Noir.Services.HTTPService: NoirService
A service for sending HTTP requests.
Requests are localhost only due to Stormworks limitations.
Get earliest request for a URL and port.
Used internally.
Parameters
URL
: stringport
: integer
Returns
NoirHTTPRequest|nil,
: integer|nil
Returns if a port is within the valid port range.
Parameters
port
: integer
Returns
boolean
Send a GET request.
All requests are localhost only. This is a Stormworks limitation.
Parameters
URL
: stringport
: integercallback
: fun(response: - NoirHTTPResponse)
Returns
NoirHTTPRequest|nil
Returns all active requests.
Returns
table<integer, NoirHTTPRequest>
Last updated