refactored websockets
[src/app-framework-binder.git] / src / afb-hreq.h
index c317a7a..37bda99 100644 (file)
@@ -19,9 +19,9 @@ struct AFB_session;
 struct AFB_clientCtx;
 
 struct afb_hreq {
-       struct AFB_session *session;
+       const char *cacheTimeout;
        struct MHD_Connection *connection;
-       enum afb_method method;
+       int method;
        const char *version;
        const char *url;
        size_t lenurl;
@@ -60,3 +60,5 @@ extern int afb_hreq_post_add(struct afb_hreq *hreq, const char *name, const char
 extern struct afb_req afb_hreq_to_req(struct afb_hreq *hreq);
 
 extern struct AFB_clientCtx *afb_hreq_context(struct afb_hreq *hreq);
+
+