Module @minecraft/server-net - v1.0.0-betaBeta

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"
}
  • @minecraft/common@1.0.0

{
"module_name": "@minecraft/common",
"version": "1.0.0"
}
  • @minecraft/server@1.0.0

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

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

Install type definition for @minecraft/server-net module using npm:

npm i @minecraft/server-net@1.0.0-beta.1.21.50-stable

Enumerations

HttpRequestMethod
PacketId

Classes

HttpClient
HttpHeader
HttpRequest
HttpResponse
NetworkBeforeEvents
PacketReceiveBeforeEventSignal
PacketReceivedBeforeEvent
PacketSendBeforeEvent
PacketSendBeforeEventSignal

Interfaces

PacketEventOptions

Variables

beforeEvents
http