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

Sean Powers commented on THRIFT-322:
------------------------------------

Is there an example of how to host the server using THttpHandler? I looked 
through the "thrift-csharp-httphandler-test.diff" which uses the 
"HttpListenerContext httpctx;" on line 128 and passes that object to the 
"th.ProcessRequest(httpctx);" and this will not compile for me because 
ProcessRequest expects the HttpContext from System.Web and not a 
HttpListenerContext from System.Net.

Am I reading it wrong or is there an updated example? Thanks.

> IHttpHandler for Thrift
> -----------------------
>
>                 Key: THRIFT-322
>                 URL: https://issues.apache.org/jira/browse/THRIFT-322
>             Project: Thrift
>          Issue Type: New Feature
>          Components: C# - Library
>            Reporter: Fredrik Hedberg
>            Assignee: Nils Hügelmann
>            Priority: Minor
>         Attachments: thrift-csharp-httphandler-test.diff, 
> thrift-csharp-httphandler.diff, thrift-csharp-httphandler.diffupdated.diff, 
> thrift-csharp-httphandler2.diff, thrift-csharp-httphandler3.diff
>
>
> IHttpHandler for Thrift.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to