Sdílet prostřednictvím


WebViewManager.TryGetResponseContent Metoda

Definice

Pokusí se poskytnout obsah odpovědi pro danou síťovou žádost.

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);
member this.TryGetResponseContent : string * bool * int * string * Stream * IDictionary -> bool
Protected Function TryGetResponseContent (uri As String, allowFallbackOnHostPage As Boolean, ByRef statusCode As Integer, ByRef statusMessage As String, ByRef content As Stream, ByRef headers As IDictionary(Of String, String)) As Boolean

Parametry

uri
String

Identifikátor URI požadavku

allowFallbackOnHostPage
Boolean

Jestli se má vrátit zpět na stránku hostitele.

statusCode
Int32

Stavový kód odpovědi.

statusMessage
String

Zpráva o stavu odpovědi.

content
Stream

Obsah odpovědi

headers
IDictionary<String,String>

Hlavičky odpovědi

Návraty

true lze-li poskytnout odpověď; false Jinak.

Platí pro