Initializes an NSURLProtocol object.
Original signature is '- (id)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id < NSURLProtocolClient >)client'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.

C# | Visual Basic | Visual C++ |
public NSURLProtocol( NSURLRequest request, NSCachedURLResponse cachedResponse, INSURLProtocolClient client )
Public Sub New ( _ request As NSURLRequest, _ cachedResponse As NSCachedURLResponse, _ client As INSURLProtocolClient _ )
public: NSURLProtocol( NSURLRequest^ request, NSCachedURLResponse^ cachedResponse, INSURLProtocolClient^ client )

- request (NSURLRequest)
- The URL request for the URL protocol object.
- cachedResponse (NSCachedURLResponse)
- A cached response for the request; may be nil if there is no existing cached response for the request.
- client (INSURLProtocolClient)
- An object that provides an implementation of the NSURLProtocolClient protocol that the receiver uses to communicate with the URL loading system.


- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)