@univerjs/network v0.5.0-beta.1 • Docs
Class: XHRHTTPImplementation
An HTTP implementation using XHR. HTTP service provided by this service could only be async (we do not support sync XHR now).
Implements
Constructors
new XHRHTTPImplementation()
new XHRHTTPImplementation(): XHRHTTPImplementation
Returns
Methods
send()
send(request): Observable<HTTPEvent<any>>
Send a request. The result would be returned in an observable for possible stream response.
Parameters
Parameter | Type | Description |
---|---|---|
request | HTTPRequest | the request to be sent |
Returns
Observable
<HTTPEvent
<any
>>
Implementation of
Defined in
submodules/univer/packages/network/src/services/http/implementations/xhr.ts:35