Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


WebViewManager.TryGetResponseContent Method

Definition

Tries to provide the response content for a given network request.

C#
protected bool TryGetResponseContent (string uri, bool allowFallbackOnHostPage, out int statusCode, out string statusMessage, out System.IO.Stream content, out System.Collections.Generic.IDictionary<string,string> headers);

Parameters

uri
String

The uri of the request

allowFallbackOnHostPage
Boolean

Whether or not to fallback to the host page.

statusCode
Int32

The status code of the response.

statusMessage
String

The response status message.

content
Stream

The response content

headers
IDictionary<String,String>

The response headers

Returns

true if the response can be provided; false otherwise.

Applies to

Προϊόν Εκδόσεις
ASP.NET Core 6.0, 7.0, 8.0, 9.0