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