Using XNContainsFilter to Prevent Request Handling #72
tambrose-kubota
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I am trying to get
XNLogger
to play nicely with aMockURLProtocol
which returns local JSON data for a handful of new API endpoints in development.If i understand the documentation correctly, the contains filter should prevent
XNLogger
from handling the request. Here's what I have tried (both default andinvert: true
).XNLogger.XNURLProtocol
is currently beforeMockURLProtocol
in theURLSessionConfiguration.protocolClasses
list. It appears to be processing these requests and not allowing the mock protocol to handle it.Any suggestions would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions