Skip to content

Commit a079be5

Browse files
committed
Implement IHttpResource (microsoft#9484)
* Added HttpResource skeleton * Import WINRT namespaces * Use custom struct instead of folly:dynamic in IHttpResource * Drop factory method from Beast HTTP resource * Move WinRT conversion utils into header * Move WinRT conversion utils into header * Define class WinRTHttpResource * Update HttpModule * Define IHttpResource::Response * Implement callback members * Implement AbortRequest * Implement multiple request handling * Drop client argument from PerformSendRequest * Use background thread in PerformSendRequest * Add WinRTConversions.cpp * Init resource in module * Implement test RequestGetSucceeds * Complete RequestGetSucceeds * Complete RequestGetFails * Add HttpModule to default modules * Move resume_in_queue back to WebSocket resource * Simplify WinRTConversions includes * Rename runtime option to Http.UseResourcedModule * clang format * Change files * Update x86 DLL boundary * Using SetRtOpt in InitModule * Add test RequestGetHeadersSucceeds * Allow aborting server * Use case-insensitive comparison for headers * Collect both response and content headers * Address feedback * Remove member function HttpModule::SendEvent * Remove SetOnRequest * Delete Beast HTTP resource * Catch specific exceptions where applicable * Rename Add/Remove Request to Track/Untrack Response * Use r-value references where applicable * Set runtime option Http.UseMonolithicModule * Define GetHttpModuleName and GetWebSocketModuleName * Remove WS, HTTP and Timing from Desktop test runner * Update XHRTest * Implement cxxCallback * Pass request ID to callbacks * Set default TestStatus for TestResult * Update XHR test * Format XHR test
1 parent dcbbf1a commit a079be5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "prerelease",
3+
"comment": "Implement IHttpResource",
4+
"packageName": "react-native-windows",
5+
"email": "julio.rocha@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

0 commit comments

Comments
 (0)