Returns whether a request can be handled based on a "preflight" evaluation.
Original signature is '+ (BOOL)canHandleRequest:(NSURLRequest *)request'
Available in Mac OS X v10.2 with Safari 1.0 installed and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static bool CanHandleRequest( NSURLRequest request )
Public Shared Function CanHandleRequest ( _ request As NSURLRequest _ ) As Boolean
public: static bool CanHandleRequest( NSURLRequest^ request )
Parameters
- request (NSURLRequest)
- The request to evaluate.
Return Value
YES if a “preflight” operation determines that a connection with request can be created and the associated I/O can be started, NO otherwise.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)