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

Function getResponseHeader

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

Source from the content-addressed store, hash-verified

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);
122export const setResponseHeaders = (values: Record<string, string>) => {
123 const headers = getEvent().res.headers;
124 for (const [name, value] of Object.entries(values)) {

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…