Skip to content

Commit c335fd6

Browse files
committed
Add rule-dispatcher
1 parent f429d7b commit c335fd6

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

YtFlowApp/EditProfilePage.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@
197197
<x:String>redirect</x:String>
198198
<x:String>reject</x:String>
199199
<x:String>resolve-dest</x:String>
200+
<x:String>rule-dispatcher</x:String>
200201
<x:String>shadowsocks-client</x:String>
201202
<x:String>simple-dispatcher</x:String>
202203
<x:String>socket</x:String>

YtFlowApp/PluginTypeToDescConverter.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ namespace winrt::YtFlowApp::implementation
3030
{L"resolve-dest", box_value(L"Resolve domain names in flow destinations to IP addresses.")},
3131
{L"simple-dispatcher", box_value(L"Match the source/dest address against a list of simple rules, and use "
3232
L"the corresponding handler or fallback handler if there is no match.")},
33+
{L"rule-dispatcher", box_value(L"Match the connection against rules defined in a resource, and use the handler "
34+
L"of a corresponding action or fallback if there is no match.")},
3335
{L"forward",
3436
box_value(L"Establish a new connection for each incoming connection, and forward data between them.")},
3537
{L"dyn-outbound", box_value(L"Select an outbound proxy from the database at runtime.")},

0 commit comments

Comments
 (0)