Start on proxy

This commit is contained in:
KingRainbow44
2022-05-08 22:48:46 -04:00
parent bc3f26eb96
commit 766e01647e
5 changed files with 52 additions and 2 deletions

21
src-tauri/src/proxy.rs Normal file
View File

@@ -0,0 +1,21 @@
/*
* Built on example code from:
* https://github.com/omjadas/hudsucker/blob/main/examples/log.rs
*/
use hudsucker::{
async_trait::async_trait,
certificate_authority::RcgenAuthority,
hyper::{Body, Request, Response},
*,
};
use std::net::SocketAddr;
use tracing::*;
use tokio_tungstenite::tungstenite::Message;
/**
* Starts an HTTP(S) proxy server.
*/
async fn start_proxy() {
}