Add HTTP(S) proxy (#208)

This commit is contained in:
jie65535 authored and GitHub committed 2023-09-23 10:48:24 +08:00
1 parent 41c644f2af
commit dce7e54675
22 files changed
+1648 -74

No files matched your search

@@ -0,0 +1,12 @@
using System;
using System.Runtime.InteropServices;
namespace Eavesdrop
{
internal static class NativeMethods
{
[DllImport("wininet.dll", SetLastError = true, CharSet = CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int dwBufferLength);
}
}