diff -r cb9cdf247239 -r 5e4855a592ee BLIP/BLIPConnection.h --- a/BLIP/BLIPConnection.h Wed Apr 22 16:45:39 2009 -0700 +++ b/BLIP/BLIPConnection.h Fri Jul 24 14:06:28 2009 -0700 @@ -66,11 +66,13 @@ /** Called when a BLIPRequest is received from the peer, if there is no BLIPDispatcher rule to handle it. + If the delegate wants to accept the request it should return YES; if it returns NO, + a kBLIPError_NotFound error will be returned to the sender. The delegate should get the request's response object, fill in its data and properties or error property, and send it. If it doesn't explicitly send a response, a default empty one will be sent; to prevent this, call -deferResponse on the request if you want to send a response later. */ -- (void) connection: (BLIPConnection*)connection receivedRequest: (BLIPRequest*)request; +- (BOOL) connection: (BLIPConnection*)connection receivedRequest: (BLIPRequest*)request; /** Called when a BLIPResponse (to one of your requests) is received from the peer. This is called after the response object's onComplete target, if any, is invoked.*/