ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { FetchFunction } from '../../common/githubTransport.js';
export const nodeFetch: FetchFunction = async (input, init) => {
const http = await import('http');
const url = typeof input === 'string' ? input : input instanceof URL ? input.href : input.url;
const body = init?.body;
if (body !== undefined && body body
urlprotocol
initsignalaborted
initsignalreason
resolve reject
settled
settled
settled
initsignal onAbort
request httpurl
method initmethod
headers initheaders Object initheaders
response
chunks Buffer
response chunk chunksBufferchunk chunk Bufferchunk
response
response error error
response
responsecomplete
headers
name value Objectresponseheaders
item value value value value
headersname item
responseBody Bufferchunks
responseBodylength responseBody
status responsestatusCode
statusText responsestatusMessage
headers
request
initsignalreason
initsignal onAbort once
request error initsignalaborted initsignalreason error
body body
requestbody
request