lib/httpx/plugins/grpc.rb in httpx-0.14.5 vs lib/httpx/plugins/grpc.rb in httpx-0.15.0
- old
+ new
@@ -158,10 +158,10 @@
metadata: nil,
**opts)
grpc_request = build_grpc_request(rpc_method, input, deadline: deadline, metadata: metadata, **opts)
response = request(grpc_request, **opts)
response.raise_for_status
- GRPC::Call.new(response, opts)
+ GRPC::Call.new(response)
end
private
def rpc_execute(rpc_name, input, **opts)