Skip to content

createStaticBackend

createStaticBackend(response): FunctionBackendAdapter

Defined in: backend-browser/src/function.ts:411

Create a static response backend that always returns the same response.

string

Static response content

FunctionBackendAdapter

FunctionBackendAdapter instance

const backend = createStaticBackend('I am a static response.');