Skip to content

InvokeBody

Namespace NetWiv · Assembly NetWiv.Core

public sealed class InvokeBody

The JSON or binary body supplied by the invoking frontend.

public ReadOnlyMemory<byte> Bytes { get; }
public bool IsBinary { get; }
public JsonElement Json { get; }
public static InvokeBody FromBytes(ReadOnlySpan<byte> value);
public static InvokeBody FromJson(JsonElement value);