Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/probelabs/goreplay
/ httpMethod
Function
httpMethod
middleware/middleware.js:204–207 ·
view source on GitHub ↗
(payload)
Source
from the content-addressed store, hash-verified
202
// hello
203
204
function
httpMethod(payload) {
205
var
pEnd = payload.indexOf(
' '
);
206
return
payload.slice(0, pEnd).toString(
"ascii"
);
207
}
208
209
function
httpPath(payload) {
210
var
pStart = payload.indexOf(
' '
) + 1;
Callers
1
TEST_httpMethod
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected