Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Ayers <[email protected]>
Signed-off-by: Sri Krishna <[email protected]>
  • Loading branch information
srikrsna-buf and smaye81 committed Dec 4, 2024
1 parent e9b3ff7 commit 63cbbd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dart/interceptors.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final Interceptor logger = <I extends Object, O extends Object>(next) {
final transport = protocol.Transport(
baseUrl: "https://demo.connectrpc.com",
codec: const JsonCodec(), // Or JsonCodec()
codec: const ProtoCodec(), // Or JsonCodec()
httpClient: createHttpClient(),
interceptors: [
//highlight-next-line
Expand Down Expand Up @@ -124,7 +124,7 @@ class LoggingInterceptor {
final transport = protocol.Transport(
baseUrl: "https://demo.connectrpc.com",
codec: const JsonCodec(), // Or JsonCodec()
codec: const ProtoCodec(), // Or JsonCodec()
httpClient: createHttpClient(),
interceptors: [
const LoggingInterceptor(print),
Expand Down

0 comments on commit 63cbbd4

Please sign in to comment.