Roblox UtilitiesDevlHub Roblox Documentation

Class

OpenCloudService

NotCreatableServiceNotReplicatedDeprecated
Inherits
Instance › Object
Memory category
Instances

Deprecated. Do not use for new work; prefer HttpService for in-experience HTTP requests.

Deprecated. This class is deprecated and should not be used for new work. Use HttpService instead and see the In-experience HTTP requests guide.

Deprecated. Do not use for new work; prefer HttpService for in-experience HTTP requests. See the In-experience HTTP requests guide.

Methods 2#

GetApiV1Returns an OpenCloudApiV1 object. Always raises an error.Deprecated
InvokeAsyncDeprecated. Dispatches a named Open Cloud call and returns its result.DeprecatedYields

GetApiV1(): OpenCloudApiV1#

DeprecatedDeprecated

Deprecated. This method is deprecated. Do not use it for new work.

Deprecated. Always raises an error with the message "API is not enabled".

InvokeAsync(version: string, methodName: string, arguments: Dictionary, headers: Dictionary = nil): Dictionary#

YieldsDeprecatedDeprecated

Deprecated. This method is deprecated. Do not use it for new work.

Deprecated. Do not use for new work.

Dispatches a server-side Open Cloud call identified by version and methodName with the given arguments and optional headers, and returns the response dictionary.

NameTypeDefaultDescription
versionstringAPI version string identifying the call surface.
methodNamestringName of the Open Cloud method to invoke.
argumentsDictionaryA dictionary of arguments forwarded with the call.
headersDictionarynilOptional request headers dictionary.
Returns
  • Dictionary — A dictionary containing the response.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed