Skip to content

Commit

Permalink
Update site/src/pages/docs/advanced-client-preprocessor.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhee17 authored Dec 31, 2024
1 parent 9b9389b commit 0f48096
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion site/src/pages/docs/advanced-client-preprocessor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ In the following example, the <type://SessionProtocol> will be overwritten from
WebClient client = WebClient
.builder()
.preprocessor((delegate, ctx, req) -> {
assert ctx.sessionProtocol() == SessionProtocol.HTTP; // HTTP from the request
ctx.sessionProtocol(SessionProtocol.HTTPS); // overwrite to HTTPS
return delegate.execute(ctx, req);
})
Expand Down

0 comments on commit 0f48096

Please sign in to comment.