Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Titanium-Web-Proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Titanium-Web-Proxy
Commits
897b7b54
Commit
897b7b54
authored
Sep 04, 2018
by
justcoding121
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix launch
parent
f54ae788
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
launch.json
.vscode/launch.json
+1
-1
ProxyTestController.cs
.../Titanium.Web.Proxy.Examples.Basic/ProxyTestController.cs
+2
-2
No files found.
.vscode/launch.json
View file @
897b7b54
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
"name"
:
"NetCore|Debug|Basic Example"
,
"name"
:
"NetCore|Debug|Basic Example"
,
"type"
:
"coreclr"
,
"type"
:
"coreclr"
,
"request"
:
"launch"
,
"request"
:
"launch"
,
"program"
:
"${workspaceRoot}/examples/Titanium.Web.Proxy.Examples.Basic/bin/Debug/netcoreapp2.0/Titanium.Web.Proxy.Examples.Basic.dll"
,
"program"
:
"${workspaceRoot}/examples/Titanium.Web.Proxy.Examples.Basic/bin/Debug/netcoreapp2.0/Titanium.Web.Proxy.Examples.Basic.
NetCore.
dll"
,
"args"
:
[],
"args"
:
[],
"cwd"
:
"${workspaceRoot}"
,
"cwd"
:
"${workspaceRoot}"
,
"stopAtEntry"
:
false
,
"stopAtEntry"
:
false
,
...
...
examples/Titanium.Web.Proxy.Examples.Basic/ProxyTestController.cs
View file @
897b7b54
...
@@ -10,6 +10,7 @@ using Titanium.Web.Proxy.Exceptions;
...
@@ -10,6 +10,7 @@ using Titanium.Web.Proxy.Exceptions;
using
Titanium.Web.Proxy.Helpers
;
using
Titanium.Web.Proxy.Helpers
;
using
Titanium.Web.Proxy.Http
;
using
Titanium.Web.Proxy.Http
;
using
Titanium.Web.Proxy.Models
;
using
Titanium.Web.Proxy.Models
;
using
System.Runtime.InteropServices
;
namespace
Titanium.Web.Proxy.Examples.Basic
namespace
Titanium.Web.Proxy.Examples.Basic
{
{
...
@@ -108,9 +109,8 @@ namespace Titanium.Web.Proxy.Examples.Basic
...
@@ -108,9 +109,8 @@ namespace Titanium.Web.Proxy.Examples.Basic
endPoint
.
IpAddress
,
endPoint
.
Port
);
endPoint
.
IpAddress
,
endPoint
.
Port
);
}
}
#if NETSTANDARD2_0
if
(
RuntimeInformation
.
IsOSPlatform
(
OSPlatform
.
Windows
))
if
(
RuntimeInformation
.
IsOSPlatform
(
OSPlatform
.
Windows
))
#endif
{
{
// Only explicit proxies can be set as system proxy!
// Only explicit proxies can be set as system proxy!
//proxyServer.SetAsSystemHttpProxy(explicitEndPoint);
//proxyServer.SetAsSystemHttpProxy(explicitEndPoint);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment