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
|