You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// crates/curp/src/mod.rspubtraitClientApi{
...
asyncfnpropose(&self,cmd:&Self::Cmd,token:Option<&String>,// TODO: Allow external custom interceptors, do not pass token in parametersuse_fast_path:bool,) -> Result<ProposeResponse<Self::Cmd>,Self::Error>;
...
}
Current we have added a token parameter to the propose method of the curp client to have xline pass a token for each request, but curp itself does not need this token. Therefore, it is better to remove this parameter and add the ability to create temporary interceptors to the ClientApi, Xline or other applications can specify a temporary interceptor when making requests, and the curp layer will apply a interceptor for the current request before sending the request, so that there is no need to expose the token to the curp layer, and improve the flexibility of curp to send requests
The text was updated successfully, but these errors were encountered:
Current we have added a token parameter to the propose method of the curp client to have xline pass a token for each request, but curp itself does not need this token. Therefore, it is better to remove this parameter and add the ability to create temporary interceptors to the ClientApi, Xline or other applications can specify a temporary interceptor when making requests, and the curp layer will apply a interceptor for the current request before sending the request, so that there is no need to expose the token to the curp layer, and improve the flexibility of curp to send requests
The text was updated successfully, but these errors were encountered: