MCPcopy Create free account
hub / github.com/solidjs/solid-start / getResponseStatus

Function getResponseStatus

packages/start/src/http/index.ts:118–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 if (e.res.statusText !== undefined) e.res.statusText = text;
117};
118export const getResponseStatus = () => getEvent().res.status;
119export const getResponseStatusText = () => getEvent().res.statusText;
120export const getResponseHeaders = () => Object.fromEntries(getEvent().res.headers.entries());
121export const getResponseHeader = (name: string) => getEvent().res.headers.get(name);

Callers

nothing calls this directly

Calls 1

getEventFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…