Defining our pluggable protocol is really about defining the protocol-specific interactions of our custom protocol in the context of the WebRequest and WebResponse paradigms. Now that we've done that, though, we have to notify the WebRequest class that we've satisfied the requirements for use by any consumers seeking to use our schema. That means we'll need to define a factory class that creates instances of our derived classes.
Leveraging a custom protocol
Implementing the IWebRequestCreate interface
We want to register our class with the WebRequest class so that instances of RockWebRequest will be returned when the WebRequest.Create(<uri>) method is called with the appropriate schema. To do that, though...