Liking cljdoc? Tell your friends :D

clj-wiremock.server


init-wiremockclj

(init-wiremock {:keys [port]})

Intialises a new WireMock server ready for starting on the specified port.

Intialises a new WireMock server ready for starting on the specified port.
sourceraw docstring

Wiremockedcljprotocol

admin-urlclj

(admin-url _ path)

Creates an absolute URL pointing to the admin endpoint of the wiremock server with the given path.

Creates an absolute URL pointing to the admin endpoint of the wiremock server with the given path.

clear!clj

(clear! _)

Clear down all stubs registered with the wiremock server.

Clear down all stubs registered with the wiremock server.

register-stub!clj

(register-stub! _ stub-content)

Registers the given stub with wiremock.

Registers the given stub with wiremock.

requestsclj

(requests _)

Returns the contents of the request journal.

Returns the contents of the request journal.

scenariosclj

(scenarios _)

Provides details on the scenarios and states currently registered with wiremock.

Provides details on the scenarios and states currently registered with wiremock.

start!clj

(start! _)

Start the wiremock server.

Start the wiremock server.

stop!clj

(stop! _)

Stop the wiremock server.

Stop the wiremock server.

urlclj

(url _ path)

Creates an absolute URL pointing to the wiremock server with the given path.

Creates an absolute URL pointing to the wiremock server with the given path.
source

WireMockServerclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close