void onInactive(const ChannelPtr& channel_ptr) override { channel_ptr->getChain()->close(channel_ptr); }
void onActive(const ChannelPtr& channel_ptr) override { DEBUG << "............. onActive ............."; char request[] = "Response ....\n"; channel_ptr->getChain()->send(channel_ptr, request, strlen(request)); }