Module ffi

Module ffi 

Source
Expand description

FFI bindings for using MockForge from other languages (Python, Node.js, Go)

This module provides C-compatible functions that can be called from other languages.

Structs§

MockServerHandle
Opaque handle to a MockServer

Functions§

mockforge_free_string
Free a string returned by MockForge
mockforge_last_error
Get the last error message
mockforge_server_destroy
Stop and destroy a mock server
mockforge_server_new
Create a new mock server
mockforge_server_stub
Add a stub response to the mock server
mockforge_server_url
Get the server URL