Liking cljdoc? Tell your friends :D

boundary.devtools.shell.recording

Stateful recording management: session atom, capture middleware, file I/O.

Stateful recording management: session atom, capture middleware, file I/O.
raw docstring

active-sessionclj

(active-session)
source

capture-middlewareclj

(capture-middleware)

Returns a Ring middleware that captures request/response pairs into the session atom. Normalizes :request-method to :method for consistent data model. Only text-based bodies (JSON, EDN, form data) are materialized for recording. Binary bodies (file uploads, PDF downloads) pass through untouched.

Returns a Ring middleware that captures request/response pairs into the session atom.
Normalizes :request-method to :method for consistent data model.
Only text-based bodies (JSON, EDN, form data) are materialized for recording.
Binary bodies (file uploads, PDF downloads) pass through untouched.
sourceraw docstring

diff-entriesclj

(diff-entries idx-a idx-b)
source

list-entriesclj

(list-entries)
source

load-session!clj

(load-session! name)
(load-session! name dir)
source

peek-pre-recording-handlerclj

(peek-pre-recording-handler)

Read the stored pre-recording handler without clearing it.

Read the stored pre-recording handler without clearing it.
sourceraw docstring

replay-entry!clj

(replay-entry! idx simulate-fn & [overrides])

Replay a recorded entry. simulate-fn should be the repl/simulate-request function. For non-JSON content types, the raw body is passed through without re-encoding.

Replay a recorded entry. simulate-fn should be the repl/simulate-request function.
For non-JSON content types, the raw body is passed through without re-encoding.
sourceraw docstring

reset-session!clj

(reset-session!)
source

restore-pre-recording-handler!clj

(restore-pre-recording-handler!)

Return and clear the stored pre-recording handler.

Return and clear the stored pre-recording handler.
sourceraw docstring

save-session!clj

(save-session! name)
(save-session! name dir)
source

start-recording!clj

(start-recording!)
source

stop-recording!clj

(stop-recording!)
source

store-pre-recording-handler!clj

(store-pre-recording-handler! handler)

Save the current live handler so it can be restored when recording stops.

Save the current live handler so it can be restored when recording stops.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close