[whatwg/fetch] "typedef (sequence<sequence<ByteString>> or reco..." (#876)

https://fetch.spec.whatwg.org/commit-snapshots/265974fd666d365c164d0337faf2dccfe5867ee7/#idl-index


> typedef \(sequence&lt;sequence&lt;ByteString&gt;&gt; or record&lt;ByteString, ByteString&gt;\) HeadersInit;
> 
> \[Constructor\(optional HeadersInit init\),
>  Exposed=​\(Window,Worker\)\]
> interface Headers \{
>   void append\(ByteString name, ByteString value\);
>   void delete\(ByteString name\);
>   ByteString? get\(ByteString name\);
>   boolean has\(ByteString name\);
>   void set\(ByteString name, ByteString value\);
>   iterable&lt;ByteString, ByteString&gt;;
> \};
> typedef \(Blob or BufferSource or FormData or URLSearchParams or ReadableStream or USVString\) BodyInit;
> interface mixin Body \{
>   readonly attribute ReadableStream? body;
>   readonly attribute boolean bodyUsed;
>   \[NewObject\] Promise&lt;ArrayBuffer&gt; arrayBuffer\(\);
>   \[NewObject\] Promise&lt;Blob&gt; blob\(\);
>   \[NewObject\] Promise&lt;FormData&gt; formData\(\);
>   \[NewObject\] Promise&lt;any&gt; json\(\);
>   \[NewObject\] Promise&lt;USVString&gt; text\(\);
> \};
> typedef \(Request or USVString\) RequestInfo;
> 
> \[Constructor\(RequestInfo input, optional RequestInit init\),
>  Exposed=​\(Window,Worker\)\]
> interface Request \{
>   readonly attrib\.\.\.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/876

Received on Thursday, 7 March 2019 03:19:33 UTC