[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
RequestConverterby removing dependency onBiDi.Added new test cases to validate updated interception functionality.
Changes walkthrough 📝
6 files
Updated `RequestConverter` usage to reflect refactoringSimplified `RequestConverter` by removing `BiDi` dependencyRefactored network interception methods for high-level APIAdded high-level API for network interception in `NetworkModule`Updated `NetworkModule` to support high-level interception APIsRemoved `BiDi` dependency from `Request` class1 files
Updated and added tests for new interception APIs