Class: XHRHTTPImplementation
Defined in: submodules/univer/packages/network/src/services/http/implementations/xhr.ts:34
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(_logService): XHRHTTPImplementation
Defined in: submodules/univer/packages/network/src/services/http/implementations/xhr.ts:35
Parameters
Parameter | Type |
---|---|
_logService | ILogService |
Returns
Methods
send()
send(request): Observable<HTTPEvent<any>>
Defined in: submodules/univer/packages/network/src/services/http/implementations/xhr.ts:39
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
>>