Skip to content

Commit 7dcc3e1

Browse files
committed
Deploy website
Deploy website version based on b6fde8f7e91baa5b113abb31f20b56f7c4f07795
1 parent 365b690 commit 7dcc3e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/0.62/native-modules-async.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,5 +290,5 @@ <h3><a class="anchor" aria-hidden="true" id="simplehttpmodule-in-cwinrt"></a><a
290290
<blockquote>
291291
<p><strong>Important:</strong> This example shows the minimum case, where you don't handle any errors within <code>GetHttpResponseAsync</code>, but you're not limited to this. You're free to detect error conditions within your code and call <code>capturedPromise.Reject()</code> yourself with (more useful) error messages at any time. However you should <em>always</em> include this final handler, to catch any unexpected and unhandled exceptions that may occur, especially when calling Windows APIs. Just be sure that you only call <code>Reject()</code> once and that nothing executes afterwards.</p>
292292
</blockquote>
293-
<p>That's it! If you want to see the complete <code>SimpleHttpModule</code>, see <a href="https://github.com/microsoft/react-native-windows-samples/blob/main/samples/NativeModuleSample/cppwinrt/windows/NativeModuleSample/AsyncMethodExamples.h"><code>AsyncMethodExamples.h</code></a>.</p>
293+
<p>That's it! If you want to see the complete <code>SimpleHttpModule</code>, see <a href="https://github.com/microsoft/react-native-windows-samples/blob/main/samples-old/NativeModuleSample/cppwinrt/windows/NativeModuleSample/AsyncMethodExamples.h"><code>AsyncMethodExamples.h</code></a>.</p>
294294
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 5/22/2025</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/react-native-windows/docs/0.62/native-modules-marshalling-data"><span class="arrow-prev"></span><span>Marshaling Data</span></a><a class="docs-next button" href="/react-native-windows/docs/0.62/native-modules-jsvalue"><span>Using JSValue</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#writing-native-modules-that-call-asynchronous-windows-apis">Writing Native Modules that call Asynchronous Windows APIs</a><ul class="toc-headings"><li><a href="#simplehttpmodule-in-c"><code>SimpleHttpModule</code> in C#</a></li><li><a href="#simplehttpmodule-in-cwinrt"><code>SimpleHttpModule</code> in C++/WinRT</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><div><h5>React Native Docs</h5><a href="https://reactnative.dev/docs/getting-started">Getting Started</a><a href="https://reactnative.dev/docs/tutorial">Tutorial</a><a href="https://reactnative.dev/docs/components-and-apis">Components and APIs</a><a href="https://reactnative.dev/docs/more-resources">More Resources</a></div><div><h5>React Native for Windows + macOS Docs</h5><div style="color:white;font-weight:500;font-size:16px"><a href="/react-native-windows/docs/getting-started">Get Started with Windows</a></div><div style="color:white;font-weight:500;font-size:16px"><a href="/react-native-windows/docs/rnm-getting-started"> Get Started with macOS</a></div><a href="/react-native-windows/docs/parity-status">React Native Windows Components and APIs</a><a href="/react-native-windows/docs/native-modules">Native Modules</a><a href="/react-native-windows/docs/view-managers">Native UI Components</a></div><div><h5>Connect With Us On</h5><a href="https://devblogs.microsoft.com/react-native/">Blog</a><a href="https://twitter.com/ReactNativeMSFT" target="_blank">Twitter</a><a href="https://github.com/microsoft/react-native-windows" target="_blank">GitHub</a><a href="https://github.com/microsoft/react-native-windows-samples/tree/main/samples" target="_blank">Samples</a></div></section></footer></div></body></html>

docs/0.62/native-modules-async/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,5 +290,5 @@ <h3><a class="anchor" aria-hidden="true" id="simplehttpmodule-in-cwinrt"></a><a
290290
<blockquote>
291291
<p><strong>Important:</strong> This example shows the minimum case, where you don't handle any errors within <code>GetHttpResponseAsync</code>, but you're not limited to this. You're free to detect error conditions within your code and call <code>capturedPromise.Reject()</code> yourself with (more useful) error messages at any time. However you should <em>always</em> include this final handler, to catch any unexpected and unhandled exceptions that may occur, especially when calling Windows APIs. Just be sure that you only call <code>Reject()</code> once and that nothing executes afterwards.</p>
292292
</blockquote>
293-
<p>That's it! If you want to see the complete <code>SimpleHttpModule</code>, see <a href="https://github.com/microsoft/react-native-windows-samples/blob/main/samples/NativeModuleSample/cppwinrt/windows/NativeModuleSample/AsyncMethodExamples.h"><code>AsyncMethodExamples.h</code></a>.</p>
293+
<p>That's it! If you want to see the complete <code>SimpleHttpModule</code>, see <a href="https://github.com/microsoft/react-native-windows-samples/blob/main/samples-old/NativeModuleSample/cppwinrt/windows/NativeModuleSample/AsyncMethodExamples.h"><code>AsyncMethodExamples.h</code></a>.</p>
294294
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 5/22/2025</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/react-native-windows/docs/0.62/native-modules-marshalling-data"><span class="arrow-prev"></span><span>Marshaling Data</span></a><a class="docs-next button" href="/react-native-windows/docs/0.62/native-modules-jsvalue"><span>Using JSValue</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#writing-native-modules-that-call-asynchronous-windows-apis">Writing Native Modules that call Asynchronous Windows APIs</a><ul class="toc-headings"><li><a href="#simplehttpmodule-in-c"><code>SimpleHttpModule</code> in C#</a></li><li><a href="#simplehttpmodule-in-cwinrt"><code>SimpleHttpModule</code> in C++/WinRT</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><div><h5>React Native Docs</h5><a href="https://reactnative.dev/docs/getting-started">Getting Started</a><a href="https://reactnative.dev/docs/tutorial">Tutorial</a><a href="https://reactnative.dev/docs/components-and-apis">Components and APIs</a><a href="https://reactnative.dev/docs/more-resources">More Resources</a></div><div><h5>React Native for Windows + macOS Docs</h5><div style="color:white;font-weight:500;font-size:16px"><a href="/react-native-windows/docs/getting-started">Get Started with Windows</a></div><div style="color:white;font-weight:500;font-size:16px"><a href="/react-native-windows/docs/rnm-getting-started"> Get Started with macOS</a></div><a href="/react-native-windows/docs/parity-status">React Native Windows Components and APIs</a><a href="/react-native-windows/docs/native-modules">Native Modules</a><a href="/react-native-windows/docs/view-managers">Native UI Components</a></div><div><h5>Connect With Us On</h5><a href="https://devblogs.microsoft.com/react-native/">Blog</a><a href="https://twitter.com/ReactNativeMSFT" target="_blank">Twitter</a><a href="https://github.com/microsoft/react-native-windows" target="_blank">GitHub</a><a href="https://github.com/microsoft/react-native-windows-samples/tree/main/samples" target="_blank">Samples</a></div></section></footer></div></body></html>

0 commit comments

Comments
 (0)