Skip to content

Http ​

Inherits Instance.

A service: the global Http is the game's one Http.

Methods ​

  • CreateWebStreamClient(clientType: EnumWebStreamClientType, options: {Url: string, Headers: {[string]: string}?}): WebStreamClient Needs the Http permission.
  • DownloadAsync(url: string, path: string, headers: {[string]: string}?): () Yields. Needs the Http permission.
  • GenerateGUID(wrapInCurlyBraces: boolean?): string
  • GetAsync(url: string, headers: {[string]: string}?): string Needs the Http permission.
  • JSONDecode(input: string): any
  • JSONEncode(input: any): string
  • UrlEncode(input: string): string

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0