Skip to content

serialize

const serialize: object

Defined in: packages/pgwasm/src/protocol/wire/serializer.ts:214

Frontend message builders.

bind: (config) => Uint8Array<ArrayBuffer>

BindOpts = {}

Uint8Array<ArrayBuffer>

cancel: (processID, secretKey) => Uint8Array<ArrayBuffer>

number

number

Uint8Array<ArrayBuffer>

close: (msg) => Uint8Array<ArrayBuffer>

PortalOpts

Uint8Array<ArrayBuffer>

copyData: (chunk) => Uint8Array<ArrayBuffer>

ArrayBuffer | ArrayBufferView<ArrayBufferLike>

Uint8Array<ArrayBuffer>

copyDone: () => Uint8Array<ArrayBuffer>

Uint8Array<ArrayBuffer>

copyFail: (message) => Uint8Array<ArrayBuffer>

string

Uint8Array<ArrayBuffer>

describe: (msg) => Uint8Array<ArrayBuffer>

PortalOpts

Uint8Array<ArrayBuffer>

end: () => Uint8Array<ArrayBuffer>

Uint8Array<ArrayBuffer>

execute: (config?) => Uint8Array<ArrayBuffer>

ExecOpts

Uint8Array<ArrayBuffer>

flush: () => Uint8Array<ArrayBuffer>

Uint8Array<ArrayBuffer>

parse: (opts) => Uint8Array<ArrayBuffer>

ParseOpts

Uint8Array<ArrayBuffer>

password: (value) => Uint8Array<ArrayBuffer>

string

Uint8Array<ArrayBuffer>

query: (text) => Uint8Array<ArrayBuffer>

string

Uint8Array<ArrayBuffer>

requestSsl: () => Uint8Array<ArrayBuffer>

Uint8Array<ArrayBuffer>

sendSASLInitialResponseMessage: (mechanism, initialResponse) => Uint8Array<ArrayBuffer>

string

string

Uint8Array<ArrayBuffer>

sendSCRAMClientFinalMessage: (additionalData) => Uint8Array<ArrayBuffer>

string

Uint8Array<ArrayBuffer>

startup: (opts) => Uint8Array<ArrayBuffer>

Record<string, string>

Uint8Array<ArrayBuffer>

sync: () => Uint8Array<ArrayBuffer>

Uint8Array<ArrayBuffer>