Static
SOCKET_Static
DELETEStatic
GETStatic
POSTStatic
sendInternal
Pings a Minecraft server asynchronously and returns a raw object with server data. Should not be called when running outside of a Node process.
Used internally to create a new Server instance.
const server = new Server(data, host, port)
console.log(server.players)
Sends an HTTP
DELETE
request to the input URL.