MCPcopy
hub / github.com/probelabs/goreplay / httpPath

Function httpPath

middleware/middleware.js:209–213  ·  view source on GitHub ↗
(payload)

Source from the content-addressed store, hash-verified

207}
208
209function httpPath(payload) {
210 var pStart = payload.indexOf(' ') + 1;
211 var pEnd = payload.indexOf(' ', pStart);
212 return payload.slice(pStart, pEnd).toString("ascii");
213}
214
215function setHttpPath(payload, newPath) {
216 var pStart = payload.indexOf(' ') + 1;

Callers 6

httpPathParamFunction · 0.85
setHttpPathParamFunction · 0.85
httpStatusFunction · 0.85
TEST_filterFunction · 0.85
TEST_httpPathFunction · 0.85
TEST_httpPathParamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected