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 type { HttpHeaders, HttpResponse } from './fetchTypes';
/**
* An HTTP response whose body may be a {@link ReadableStream} or a
* `DestroyableStream` (from the platform `Response` class).
*/
export interface CloneableResponse {
readonly status: number;
readonly headers: HttpHeaders;
readonly body: ReadableStream<Uint8Array> | { toReadableStream(): ReadableStream<Uint8Array> } | null;
}
/**
* Clones a response by teeing its body stream, returning two independent
* {@link HttpResponse} objects that can each be consumed separately.
*
* Both returned responses have fully functional `text()` and `json()`
* methods backed by their own stream branch.
*
* Accepts either an HttpResponse (with `ReadableStream` body) or a
* platform `Response` (with `DestroyableStream` body) transparently.
*/
response CloneableResponse HttpResponse HttpResponse
status headers response
responsebody
status headers status headers
readable ReadableStreamUint8Array responsebody
responsebody
responsebody
a b readable
status headers a status headers b
status headers HttpHeaders body ReadableStreamUint8Array HttpResponse
status
headers
body
body
reader body
chunks Uint8Array
done value reader
done
chunksvalue
totalLength chunkssum c sum clength
merged totalLength
offset
chunk chunks
mergedchunk offset
offset chunklength
merged