Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

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

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

/data/input/pact.h#L2146

Parameters

pact: PactFfi.PactHandle
addr: Pointer<number>
port: PactFfi.uint16_t
transport: Pointer<number>
transport_config: Pointer<number>

Returns

PactFfi.int32_t