Skip to content

Conversation

Caezary
Copy link

@Caezary Caezary commented Sep 20, 2018

These are the changes originally created here.
Also added a short description in the readme.

jvsanchez28 and others added 19 commits December 14, 2016 18:19
Adds properties and methods to use an HTTP-proxy in your connection, either with default network credentials or specified credentials.
A method to tunnel the TCP-connection via a pre-configured HTTP-Proxy has been added. If Configuration.UseProxy is set to true, a CONNECT-request is sent using the proxy adress specified. The socket is then extracted from the stream of this request's response (using the System.Reflection-Library) and used to create a TcpClient-object. All traffic sent through this TcpClient-object will pass through the proxy used to send the initial CONNECT-Request.

NOTE:
The method 'getClientViaHTTPProxy' uses code that was not written by the author of this commit. The original code can be found here:
https://web.archive.org/web/20160317134733/https://nitormobiledevelopment.wordpress.com/2013/08/13/push-sharp-using-proxy/
@mitch-tofi mitch-tofi merged commit 5fed317 into mitch-tofi:master Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants