This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.
Symbol
BodyInit
Referenced types
class ReadableStream<R = any>
- pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>
Appends a specified key/value pair as a new search parameter.
Deletes the given search parameter, and its associated value, from the list of all search parameters.
Returns an array of key, value pairs for every entry in the search params.
- forEach(callbackfn: (value: string, key: string, parent: URLSearchParams) => void, thisArg?: any): void
Returns the first value associated to the given search parameter.
Returns all the values association with a given search parameter.
Returns a Boolean indicating if such a search parameter exists.
Returns a list of keys in the search params.
Sets the value associated to a given search parameter to the given value. If there were several values, delete the others.
Returns a string containing a query string suitable for use in a URL. Does not include the question mark.
Returns a list of values in the search params.
class ArrayBuffer
Represents a raw buffer of binary data, which is used to store data for the different typed arrays. ArrayBuffers cannot be read from or written to directly, but can be passed to a typed array or DataView Object to interpret the raw buffer as needed.