You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Mario Emmenlauer (Jira)" <ji...@apache.org> on 2019/11/06 14:31:00 UTC

[jira] [Commented] (THRIFT-3822) WebSocket Support for C++ Language

    [ https://issues.apache.org/jira/browse/THRIFT-3822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968399#comment-16968399 ] 

Mario Emmenlauer commented on THRIFT-3822:
------------------------------------------

I could make good progress with an implementation of an open source C++ thrift http/websocket server. My current work is based on boost beast with OpenSSL which provides everything for the http (secure&insecure) and websocket (secure&insecure) connections, all on a single port.

Based on beast code it was relatively straightforward to implemented a HTTP server that serves the static content and accepts a websocket connection on the same port. Based on this, I can create a browser client that creates a websocket connection to the server and sends certain requests. From the incoming packets I can see the actual method names and arguments.

But the (big) missing link is now to create an actual thrift server to handle the request, get the result, serialize it and send it back. Before I go deeper down this road I hope someone can lend me a hand? What are the next steps when the passing of message buffers works? Is there a server or transport class that I can use as an example on how to proceed?

> WebSocket Support for C++ Language
> ----------------------------------
>
>                 Key: THRIFT-3822
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3822
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C++ - Compiler, C++ - Library
>    Affects Versions: 0.9.3
>            Reporter: ramesh
>            Priority: Major
>
> Hi Team
> Any one implemented the websocket transport support in c++.
> Please give some feedback on this.
> how to implement.
> Regards
> Ramesh



--
This message was sent by Atlassian Jira
(v8.3.4#803005)