Implement Termii client configuration and HTTP pipeline#17
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThis PR implements the complete Termii SDK client foundation. It adds configuration validation, an HTTP request pipeline with api_key authentication handling (query string or JSON body), a disposable TermiiClient managing HttpClient lifecycle, ASP.NET Core dependency injection support, comprehensive test coverage, and documentation examples. ChangesSDK Foundation Implementation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Adds the shared client configuration, authentication, and HTTP request pipeline that future endpoint clients will use.
What changed
HttpClient-basedTermiiClientconstruction.AddTermii(...)dependency injection registration for ASP.NET Core style usage.Validation
dotnet restore Termii.SDK.slndotnet build Termii.SDK.sln --configuration Release --no-restoredotnet test Termii.SDK.sln --configuration Release --no-buildCloses #2
Summary by CodeRabbit
New Features
AddTermiiextension for ASP.NET Core integrationDocumentation
Tests