AuthExchange
, LogExchange
), process an operation (e.g. FetchExchange
, WebSocketExchange
) or both (e.g. CacheExchange
).
Exchange
protocol spec.
register
method. register
method lets the exchange hook itself to the stream of operations and call generic methods on client
. It should return the stream of operation results.
teardown
event with the same operation ID,FetchExchange
and WebSocketExchange
source codes to see an example.