You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Todd Gardner (JIRA)" <ji...@apache.org> on 2009/10/07 22:09:32 UTC
[jira] Updated: (THRIFT-160) Created THttpTransport for the C#
library based on WebHttpRequest
[ https://issues.apache.org/jira/browse/THRIFT-160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Gardner updated THRIFT-160:
--------------------------------
Attachment: client.patch
THttpClient.cs
I recently had need of the same thing, so I adjusted the patch above with the suggestions, as well as some general cleanup. I also tried to override the Peek method, but it looks like it isn't virtual in TTransport.cs, which differs from the c++ version (not sure which one is correct).
I've also included a patch for the client, such that when the URL parameter is passed on the command line it uses THTTPClient.cs. The URL parameter didn't do anything before, as far as I could tell.
> Created THttpTransport for the C# library based on WebHttpRequest
> -----------------------------------------------------------------
>
> Key: THRIFT-160
> URL: https://issues.apache.org/jira/browse/THRIFT-160
> Project: Thrift
> Issue Type: Improvement
> Components: Library (C#)
> Environment: .NET C#
> Reporter: Brian O'Neil
> Attachments: client.patch, THttpClient.cs, THttpClient.cs
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> I have created and done some testing of a HttpTransport for the C# library. I started with the Java implementation and ported/created a C# version of it based on the WebHttpRequest object in the .NET BCLs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.