Skip to content

Commit 2151268

Browse files
committed
docs
1 parent 69df9eb commit 2151268

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

Sources/GRPCCore/Call/Client/ClientInterceptor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// received from the transport. They are typically used for cross-cutting concerns like injecting
2222
/// metadata, validating messages, logging additional data, and tracing.
2323
///
24-
/// Interceptors are registered with the server via ``ClientInterceptorPipelineOperation``s.
24+
/// Interceptors are registered with the server via ``ConditionalInterceptor``s.
2525
/// You may register them for all services registered with a server, for RPCs directed to specific services, or
2626
/// for RPCs directed to specific methods. If you need to modify the behavior of an interceptor on a
2727
/// per-RPC basis in more detail, then you can use the ``ClientContext/descriptor`` to determine

Sources/GRPCCore/Call/ConditionalInterceptor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ extension ConditionalInterceptor where Interceptor == any ServerInterceptor {
102102
/// Create an operation, specifying which ``ServerInterceptor`` to apply and to which ``Subject``.
103103
/// - Parameters:
104104
/// - interceptor: The ``ServerInterceptor`` to register with the client.
105-
/// - target: The ``Subject`` to which the `interceptor` applies.
105+
/// - subject: The ``Subject`` to which the `interceptor` applies.
106106
public static func apply(
107107
_ interceptor: any ServerInterceptor,
108108
to subject: Subject

Sources/GRPCCore/Call/Server/RPCRouter.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ public struct RPCRouter: Sendable {
155155
/// only call this method _after_ you have registered all handlers.
156156
/// - Parameter pipeline: The interceptor pipeline operations to register to all currently-registered handlers. The order of the
157157
/// interceptors matters.
158-
/// - SeeAlso: ``ServerInterceptorPipelineOperation``.
159158
@inlinable
160159
public mutating func registerInterceptors(
161160
pipeline: [ConditionalInterceptor<any ServerInterceptor>]

Sources/GRPCCore/Call/Server/ServerInterceptor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/// been returned from a service. They are typically used for cross-cutting concerns like filtering
2222
/// requests, validating messages, logging additional data, and tracing.
2323
///
24-
/// Interceptors can be registered with the server either directly or via ``ServerInterceptorPipelineOperation``s.
24+
/// Interceptors can be registered with the server either directly or via ``ConditionalInterceptor``s.
2525
/// You may register them for all services registered with a server, for RPCs directed to specific services, or
2626
/// for RPCs directed to specific methods. If you need to modify the behavior of an interceptor on a
2727
/// per-RPC basis in more detail, then you can use the ``ServerContext/descriptor`` to determine

Sources/GRPCCore/GRPCClient.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public final class GRPCClient: Sendable {
188188
///
189189
/// - Parameters:
190190
/// - transport: The transport used to establish a communication channel with a server.
191-
/// - interceptorPipeline: A collection of ``ClientInterceptorPipelineOperation`` providing cross-cutting
191+
/// - interceptorPipeline: A collection of ``ConditionalInterceptor``s providing cross-cutting
192192
/// functionality to each accepted RPC. Only applicable interceptors from the pipeline will be applied to each RPC.
193193
/// The order in which interceptors are added reflects the order in which they are called.
194194
/// The first interceptor added will be the first interceptor to intercept each request.
@@ -411,7 +411,7 @@ public func withGRPCClient<Result: Sendable>(
411411
///
412412
/// - Parameters:
413413
/// - transport: The transport used to establish a communication channel with a server.
414-
/// - interceptorPipeline: A collection of ``ClientInterceptorPipelineOperation`` providing cross-cutting
414+
/// - interceptorPipeline: A collection of ``ConditionalInterceptor``s providing cross-cutting
415415
/// functionality to each accepted RPC. Only applicable interceptors from the pipeline will be applied to each RPC.
416416
/// The order in which interceptors are added reflects the order in which they are called.
417417
/// The first interceptor added will be the first interceptor to intercept each request.

0 commit comments

Comments
 (0)