Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Sources/GRPC/ClientCalls/BidirectionalStreamingCall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ public struct BidirectionalStreamingCall<
return self.call.options
}

/// The path used to make the RPC.
public var path: String {
return self.call.path
}

/// The `Channel` used to transport messages for this RPC.
public var subchannel: EventLoopFuture<Channel> {
return self.call.channel
Expand Down
5 changes: 5 additions & 0 deletions Sources/GRPC/ClientCalls/ClientStreamingCall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public struct ClientStreamingCall<RequestPayload, ResponsePayload>: StreamingReq
return self.call.options
}

/// The path used to make the RPC.
public var path: String {
return self.call.path
}

/// The `Channel` used to transport messages for this RPC.
public var subchannel: EventLoopFuture<Channel> {
return self.call.channel
Expand Down
5 changes: 5 additions & 0 deletions Sources/GRPC/ClientCalls/ServerStreamingCall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ public struct ServerStreamingCall<RequestPayload, ResponsePayload>: ClientCall {
return self.call.options
}

/// The path used to make the RPC.
public var path: String {
return self.call.path
}

/// The `Channel` used to transport messages for this RPC.
public var subchannel: EventLoopFuture<Channel> {
return self.call.channel
Expand Down
5 changes: 5 additions & 0 deletions Sources/GRPC/ClientCalls/UnaryCall.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public struct UnaryCall<RequestPayload, ResponsePayload>: UnaryResponseClientCal
return self.call.options
}

/// The path used to make the RPC.
public var path: String {
return self.call.path
}

/// The `Channel` used to transport messages for this RPC.
public var subchannel: EventLoopFuture<Channel> {
return self.call.channel
Expand Down