File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
runtime/src/main/scala/akka/grpc Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ trait AkkaGrpcClient {
16
16
/**
17
17
* @return The same client decorated to add the given key and value to the metadata of any request issued.
18
18
*/
19
- def addRequestHeader (key : String , value : String ): AkkaGrpcClient
19
+ def addRequestHeader (key : String , value : String ): AkkaGrpcClient = {
20
+ // dummy implementation to not break compatibility
21
+ this
22
+ }
20
23
21
24
/**
22
25
* Initiates a shutdown in which preexisting and new calls are cancelled.
Original file line number Diff line number Diff line change @@ -33,5 +33,8 @@ trait AkkaGrpcClient {
33
33
/**
34
34
* The same client instance decorated to add the given key and value to the metadata of any request issued.
35
35
*/
36
- def addRequestHeader (key : String , value : String ): AkkaGrpcClient
36
+ def addRequestHeader (key : String , value : String ): AkkaGrpcClient = {
37
+ // dummy implementation to not break compatibility
38
+ this
39
+ }
37
40
}
You can’t perform that action at this time.
0 commit comments