smf icon indicating copy to clipboard operation
smf copied to clipboard

add lifecycle callback struct for client and server rpc connection management

Open emaxerrno opened this issue 8 years ago • 0 comments

struct connection_callbacks {
    void connection_open(const ...&);
    void connection_error(const ...&);
    void connection_exception(const ...&);
    void will_parse_header();
    void did_parse_header(const &)....
    void will_parse_body()
    void did_parse_body(const &...)
    void connection_set_error()...
    void connection_disable....
    void connection flushing
   void connection_close
};

emaxerrno avatar Feb 03 '17 04:02 emaxerrno