Skip to content

cargo-crates/quick-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

use std::net::{ SocketAddr };
use quick_server::server::Server;

fn main() {
    // We'll bind to 127.0.0.1:3900
    let addr = SocketAddr::from(([127, 0, 0, 1], 3900));
    let _server = match Server::new(addr).start() {
        Ok(server) => server,
        Err(e) => panic!("err: {}", e),
    };
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages