MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / json_response

Function json_response

app/server/http.cpp:307–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305 }
306
307 void require_within_body_cap() const {
308 if (limits_.max_body_bytes > 0 && received_bytes_ > limits_.max_body_bytes) {
309 throw std::runtime_error("live request body exceeded its maximum size");
310 }
311 }
312

Callers 6

handleMethod · 0.85
handle_speechMethod · 0.85
run_transcriptionMethod · 0.85
handle_generic_runMethod · 0.85
handle_voicesMethod · 0.85
error_responseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected