Structs§
Enums§
- Stream
Load πResponse
Constants§
- BUFFER_
SIZE π - DORIS_
DELETE_ πSIGN - DORIS_
SUCCESS_ πSTATUS - LOCALHOST π
- LOCALHOST_
IP π - MIN_
CHUNK_ πSIZE - POOL_
IDLE_ πTIMEOUT - WAIT_
HANDDLE_ πTIMEOUT
Functions§
- Send the request and handle redirection if any. The reason we handle the redirection manually is that if we let
reqwest
handle the redirection automatically, it will remove sensitive headers (such as Authorization) during the redirection, and thereβs no way to prevent this behavior. Please note, the FE address that user specified might be a FE follower not the leader, in this case, the follower FE will redirect request to leader FE and then to BE. - try_
get_ πbe_ url Try getting BE url from a redirected response, returningOk(None)
indicates this request does not redirect.
Type Aliases§
- Sender π