Warp/docs/api/1.1/warp.md

689 B

Warp

The public main of the Warp library. ::: warning This version (1.1.x) is not backward compatible with 1.0.x. :::

.Server

Get the Server operation for server-side.

-- Server
local Server = Warp.Server()

.Client

Get the Client operation for client-side.

-- Client
local Client = Warp.Client()

.Buffer

Get the Buffer util for schema definition.

-- Universal (Server & Client)
local Buffer = Warp.Buffer()
local schema = Buffer.Schema