Skip to content

Commit

Permalink
Adds documentation to ApolloInterceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
calvincestari committed Jun 21, 2023
1 parent d2bbeb0 commit 3111cb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/Apollo/ApolloInterceptor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ import ApolloAPI
public protocol ApolloInterceptor {

var id: String { get set }
/// Used to uniquely identify this interceptor from other interceptors in a request chain.
///
/// Each operation request has it's own interceptor request chain so the interceptors do not
/// need to be uniquely identifiable between each and every request, only unique between the
/// list of interceptors in a single request.

/// Called when this interceptor should do its work.
///
Expand Down

0 comments on commit 3111cb8

Please sign in to comment.