-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[dotnet] [bidi] Combine network interception to apply rules (breaking change) #15603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] [bidi] Combine network interception to apply rules (breaking change) #15603
Conversation
PR Reviewer Guide 🔍(Review updated until commit ed35158)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to ed35158
Previous suggestionsSuggestions up to commit 02ecaed
|
This is the first attempt to split "extensions" and "low-level". |
User description
Fixes #15592
💥 What does this PR do?
Before:
After:
Actually it is high level API, following the pattern:
public Task<T> DoSomethingAsync(DoSomethingOptions? = null)
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement, Tests
Description
Refactored network interception APIs for BiDi in .NET bindings.
Introduced high-level API methods for request, response, and auth interception.
Simplified
RequestConverter
by removing dependency onBiDi
.Added new test cases to validate updated interception functionality.
Changes walkthrough 📝
6 files
Updated `RequestConverter` usage to reflect refactoring
Simplified `RequestConverter` by removing `BiDi` dependency
Refactored network interception methods for high-level API
Added high-level API for network interception in `NetworkModule`
Updated `NetworkModule` to support high-level interception APIs
Removed `BiDi` dependency from `Request` class
1 files
Updated and added tests for new interception APIs