MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / Response

Interface Response

apps/cloud/worker-configuration.d.ts:1859–1910  ·  view source on GitHub ↗

* The **`Response`** interface of the Fetch API represents the response to a request. * * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)

Source from the content-addressed store, hash-verified

1857 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
1858 */
1859interface Response extends Body {
1860 /**
1861 * The **`clone()`** method of the Response interface creates a clone of a response object, identical in every way, but stored in a different variable.
1862 *
1863 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/clone)
1864 */
1865 clone(): Response;
1866 /**
1867 * The **`status`** read-only property of the Response interface contains the HTTP status codes of the response.
1868 *
1869 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/status)
1870 */
1871 status: number;
1872 /**
1873 * The **`statusText`** read-only property of the Response interface contains the status message corresponding to the HTTP status code in Response.status.
1874 *
1875 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/statusText)
1876 */
1877 statusText: string;
1878 /**
1879 * The **`headers`** read-only property of the with the response.
1880 *
1881 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/headers)
1882 */
1883 headers: Headers;
1884 /**
1885 * The **`ok`** read-only property of the Response interface contains a Boolean stating whether the response was successful (status in the range 200-299) or not.
1886 *
1887 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/ok)
1888 */
1889 ok: boolean;
1890 /**
1891 * The **`redirected`** read-only property of the Response interface indicates whether or not the response is the result of a request you made which was redirected.
1892 *
1893 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirected)
1894 */
1895 redirected: boolean;
1896 /**
1897 * The **`url`** read-only property of the Response interface contains the URL of the response.
1898 *
1899 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/url)
1900 */
1901 url: string;
1902 webSocket: WebSocket | null;
1903 cf: any | undefined;
1904 /**
1905 * The **`type`** read-only property of the Response interface contains the type of the response.
1906 *
1907 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/type)
1908 */
1909 type: "default" | "error";
1910}
1911interface ResponseInit {
1912 status?: number;
1913 statusText?: string;

Callers

nothing calls this directly

Implementers 2

Columnpackages/core/fumadb/src/schema/create
IdColumnpackages/core/fumadb/src/schema/create

Calls

no outgoing calls

Tested by

no test coverage detected