Promotes a promised object.
Overloads PushPromise(String)public:
void PushPromise(System::String ^ path);
public void PushPromise(string path);
member this.PushPromise : string -> unit
Public Sub PushPromise (path As String)
Parameters
The URL of the push request. It should be the virtual path of the relative resource that the server wants to push to the client.
RemarksPushPromise is non-deterministic, and applications shouldn't have logic that depends on it. Its only purpose is performance advantage in some cases. There are many conditions (protocol and implementation) that may cause push requests to be ignored. The expectation is based on fire-and-forget.
PushPromise(String, String, NameValueCollection)public:
void PushPromise(System::String ^ path, System::String ^ method, System::Collections::Specialized::NameValueCollection ^ headers);
public void PushPromise(string path, string method, System.Collections.Specialized.NameValueCollection headers);
member this.PushPromise : string * string * System.Collections.Specialized.NameValueCollection -> unit
Public Sub PushPromise (path As String, method As String, headers As NameValueCollection)
Parameters
The URL of the push request. It should be the virtual path of the relative resource that the server wants to push to the client.
Http request method that would be used by the push request.
RemarksPushPromise is non-deterministic, and applications shouldn't have logic that depends on it. Its only purpose is performance advantage in some cases. There are many conditions (protocol and implementation) that may cause push requests to be ignored. The expectation is based on fire-and-forget.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4