@univerjsnetworkinterfacesIhttpimplementation

@univerjs/network v0.5.0-beta.1Docs


Interface: IHTTPImplementation

HTTP service could be implemented differently on platforms.

Methods

send()

send(request): Observable<HTTPEvent<any>>

Send a request. The result would be returned in an observable for possible stream response.

Parameters

ParameterTypeDescription
requestHTTPRequestthe request to be sent

Returns

Observable<HTTPEvent<any>>

Defined in

submodules/univer/packages/network/src/services/http/implementations/implementation.ts:32