Skip to content

pubky/http-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Relay

A Rust implementation of some of Http relay spec.

Example

#[tokio::main]
async fn main() {
    let http_relay = http_relay::HttpRelay::builder()
        .http_port(15412)
        .run()
        .await
        .unwrap();

    println!(
        "Running http relay {}",
        http_relay.local_link_url().as_str()
    );

    tokio::signal::ctrl_c().await.unwrap();

    http_relay.shutdown().await.unwrap();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages