ObjWebServer  Diff

Differences From Artifact [92fc716d67]:

To Artifact [37e2be58e8]:


16
17
18
19
20
21
22
23
24
25
26
27
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#import <ObjFW/ObjFW.h>

@protocol Module
- (void)parseConfig: (OFXMLElement *)config;
-      (void)server: (OFHTTPServer *)server
  didReceiveRequest: (OFHTTPRequest *)request
	requestBody: (OFStream *)requestBody
	   response: (OFHTTPResponse *)response;
@end







<
|
|
|

16
17
18
19
20
21
22

23
24
25
26
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#import <ObjFW/ObjFW.h>

@protocol Module
- (void)parseConfig: (OFXMLElement *)config;

- (bool)handleRequest: (OFHTTPRequest *)request
	  requestBody: (OFStream *)requestBody
	     response: (OFHTTPResponse *)response;
@end