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
cdd8aa9c
Commit
cdd8aa9c
authored
Jun 26, 2017
by
Honfika
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
async invoke
parent
84d4effc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
MainWindow.xaml.cs
Examples/Titanium.Web.Proxy.Examples.Wpf/MainWindow.xaml.cs
+4
-4
No files found.
Examples/Titanium.Web.Proxy.Examples.Wpf/MainWindow.xaml.cs
View file @
cdd8aa9c
...
...
@@ -88,7 +88,7 @@ namespace Titanium.Web.Proxy.Examples.Wpf
private
async
Task
ProxyServer_TunnelConnectRequest
(
object
sender
,
TunnelConnectSessionEventArgs
e
)
{
Dispatcher
.
Invoke
(()
=>
await
Dispatcher
.
InvokeAsync
(()
=>
{
AddSession
(
e
);
});
...
...
@@ -96,7 +96,7 @@ namespace Titanium.Web.Proxy.Examples.Wpf
private
async
Task
ProxyServer_TunnelConnectResponse
(
object
sender
,
SessionEventArgs
e
)
{
Dispatcher
.
Invoke
(()
=>
await
Dispatcher
.
InvokeAsync
(()
=>
{
SessionListItem
item
;
if
(
sessionDictionary
.
TryGetValue
(
e
,
out
item
))
...
...
@@ -113,7 +113,7 @@ namespace Titanium.Web.Proxy.Examples.Wpf
private
async
Task
ProxyServer_BeforeRequest
(
object
sender
,
SessionEventArgs
e
)
{
SessionListItem
item
=
null
;
Dispatcher
.
Invoke
(()
=>
await
Dispatcher
.
InvokeAsync
(()
=>
{
item
=
AddSession
(
e
);
});
...
...
@@ -127,7 +127,7 @@ namespace Titanium.Web.Proxy.Examples.Wpf
private
async
Task
ProxyServer_BeforeResponse
(
object
sender
,
SessionEventArgs
e
)
{
SessionListItem
item
=
null
;
Dispatcher
.
Invoke
(()
=>
await
Dispatcher
.
InvokeAsync
(()
=>
{
SessionListItem
item2
;
if
(
sessionDictionary
.
TryGetValue
(
e
,
out
item2
))
...
...
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