The @minecraft/server-net module.

Note: This module is not in the manifest.json so it cannot be accessed in-game unless manually added to the manifest.json.

The @minecraft/server-net module contains types for executing HTTP-based requests. This module can only be used on Bedrock Dedicated Server. These APIs do not function within the Minecraft game client or within Minecraft Realms.

Manifest Details

{
"module_name": "@minecraft/server-net",
"version": "1.0.0-beta"
}

Enumerations

HttpRequestMethod
PacketId

Classes

HttpClient
HttpHeader
HttpRequest
HttpResponse
InternalHttpRequestError
MalformedHttpRequestError
NetworkBeforeEvents
PacketReceiveBeforeEventSignal
PacketReceivedBeforeEvent
PacketSendBeforeEvent
PacketSendBeforeEventSignal

Interfaces

PacketEventOptions

Variables

beforeEvents
http