docs.rs failed to build rong_http-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rong_http-0.1.1
rong_http
HTTP client providing the standard Fetch API and Server-Sent Events.
JS APIs
fetch(url, options?)— global function for making HTTP requests- Supports
method,headers,body,signal,redirect - Returns
Responsewithtext(),json(),arrayBuffer(),blob(),formData(),bodystream - Default timeout: 60 seconds; use
AbortSignalfor per-request cancellation
- Supports
Headers— HTTP headers classget(),set(),append(),delete(),has(),forEach(),entries(),keys(),values(),getSetCookie()
Request— HTTP request classmethod,headers,url,signal,redirect,clone(), plus body mixin methods
Rong.SSE— Server-Sent Events async iterator clientnew Rong.SSE(url, options?)— connect to an SSE endpoint, returns anAsyncIterable<SSEEvent>for await (const event of sse)— iterate events ({ type, data, id, origin })close()— close the connectionurl— the connection URL- Options:
headers,signal,requestTimeoutMs,reconnect(withenabled,maxRetries,baseDelayMs,maxDelayMs)