API Reference
@univerjs
@univerjs/network
interfaces
Ihttpimplementation

@univerjs/network v0.4.2Docs


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

packages/network/src/services/http/implementations/implementation.ts:32 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.