aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/transport/transport.c')
-rw-r--r--src/core/transport/transport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/transport/transport.c b/src/core/transport/transport.c
index 2689e3028a..69c00b6a4f 100644
--- a/src/core/transport/transport.c
+++ b/src/core/transport/transport.c
@@ -65,6 +65,10 @@ void grpc_transport_destroy_stream(grpc_transport *transport,
transport->vtable->destroy_stream(transport, stream);
}
+char *grpc_transport_get_peer(grpc_transport *transport) {
+ return transport->vtable->get_peer(transport);
+}
+
void grpc_transport_stream_op_finish_with_failure(
grpc_transport_stream_op *op) {
if (op->send_ops) {