MCPcopy Index your code
hub / github.com/OneNoteDev/WebClipper / get

Method get

src/scripts/http/http.ts:17–19  ·  view source on GitHub ↗
(url: string, headers?: any, timeout = Http.defaultTimeout, expectedCodes = [200])

Source from the content-addressed store, hash-verified

15 protected static defaultTimeout = 30000;
16
17 public static get(url: string, headers?: any, timeout = Http.defaultTimeout, expectedCodes = [200]): Promise<XMLHttpRequest> {
18 return Http.createAndSendRequest("GET", url, headers, expectedCodes, timeout);
19 }
20
21 public static post(url: string, data: any, headers?: any, expectedCodes = [200], timeout = Http.defaultTimeout): Promise<XMLHttpRequest> {
22 if (ObjectUtils.isNullOrUndefined(data)) {

Callers 15

aaFunction · 0.45
QaFunction · 0.45
ZaFunction · 0.45
gFunction · 0.45
logClipModeSpecificMethod · 0.45
logPdfClipOptionsMethod · 0.45
logPdfByteMetadataMethod · 0.45
getInitialPageMethod · 0.45
getMetaDataMethod · 0.45

Calls 1

createAndSendRequestMethod · 0.80

Tested by

no test coverage detected