mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2026-02-05 09:52:18 +01:00
Start on proxy
This commit is contained in:
21
src-tauri/src/proxy.rs
Normal file
21
src-tauri/src/proxy.rs
Normal 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() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user