Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pact/src/deps.ts>Pact.pactffi_message_new_from_body

Pact πŸ”— Contract Testing for Deno πŸ¦•, Powered by Rust πŸ¦€
Go to Latest
function Pact.pactffi_message_new_from_body
import { Pact } from "https://deno.land/x/pact@0.0.2/src/deps.ts";
const { pactffi_message_new_from_body } = Pact;

/data/input/pact.h#L730

Parameters

body: Pointer<number>
content_type: Pointer<number>

Returns

Pointer<StructPointer<"Message">>