s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamsresults

Game Jam III

Crowned Sat 3 Oct
Winner 🏆 GAMMA ☢ TEAM
ThemeOne More Round

This jam is over. The next one will show up here.

See the results
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Utility
Http
chevron_left Utility
class
Http

Static Methods

functionsCreateJsonContentfunctionsIsAllowedfunctionsIsHeaderAllowedfunctionsRequestAsyncfunctionsRequestBytesAsyncfunctionsRequestJsonAsyncfunctionsRequestStreamAsyncfunctionsRequestStringAsync
Http
Lets your game make async HTTP requests.
class Sandbox .
staticsealedabstractSandbox.Engine

functions Static Methods 8

CreateJsonContent (target)
HttpContent
Creates a new System.Net.Http.HttpContent instance containing the specified object serialized to JSON.
IsAllowed (uri)
bool
Check if the given Uri matches the following requirements: 1. Scheme is https/http or wss/ws 2. If it resolves to loopback, only allow ports 80/443/8080/8443 3. Not an ip address 4. Doesn't resolve to a private range
IsHeaderAllowed (header)
bool
Checks if a given header is allowed to be set.
RequestAsync (requestUri, method, content, headers, cancellationToken)
Task`1
RequestBytesAsync (requestUri, method, content, headers, cancellationToken)
Task`1
RequestJsonAsync (requestUri, method, content, headers, cancellationToken)
Task`1
RequestStreamAsync (requestUri, method, content, headers, cancellationToken)
Task`1
RequestStringAsync (requestUri, method, content, headers, cancellationToken)
Task`1
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter