Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit aabea62

Browse files
committed
Merge pull request #46 from justcoding121/release
Release
2 parents 637707c + 39bdfe5 commit aabea62

14 files changed

+225
-51
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Install by nuget:
2727
After installing nuget package mark following files to be copied to app directory
2828

2929
* makecert.exe
30-
* Titanium_Proxy_Test_Root.cer
3130

3231

3332
Setup HTTP proxy:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.IO;
4+
using System.Linq;
5+
using System.Net.Sockets;
6+
using System.Text;
7+
using Titanium.Web.Proxy.Helpers;
8+
9+
namespace Titanium.Web.Proxy.EventArguments
10+
{
11+
/// <summary>
12+
/// This class wraps Tcp connection to Server
13+
/// </summary>
14+
public class ProxyClient
15+
{
16+
/// <summary>
17+
/// TcpClient used to communicate with server
18+
/// </summary>
19+
internal TcpClient TcpClient { get; set; }
20+
21+
/// <summary>
22+
/// holds the stream to server
23+
/// </summary>
24+
internal Stream ClientStream { get; set; }
25+
26+
/// <summary>
27+
/// Used to read line by line from server
28+
/// </summary>
29+
internal CustomBinaryReader ClientStreamReader { get; set; }
30+
31+
/// <summary>
32+
/// used to write line by line to server
33+
/// </summary>
34+
internal StreamWriter ClientStreamWriter { get; set; }
35+
36+
}
37+
}

0 commit comments

Comments
 (0)