Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/wtriPublic

Haxe/Sys web server

NotificationsYou must be signed in to change notification settings

tong/wtri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embeddable haxe/sys web server.

Embed

newwtri.Server((req,res)-> {Sys.println(req.path);res.end('Hello!');}).listen(8080);

See:Main.hx


Example server

Build

git clone https://github.com/tong/wtri.gitcd wtri/haxelib dev wtri.haxe wtri.hxml -hl wtri.hlhaxe wtri.hxml -neko wtri.nhaxe wtri.hxml -cpp cpphaxe wtri.hxml -python wtri.pyhaxe wtri.hxml -lua wtri.lua -D lua-vanilla -D lua-jithaxe wtri.hxml --jvm wtri.jarmake# HashlinkC

Run

Usage: wtri [options][--host]<name>: Address tobind[--port]<number>: Port tobind[--root]<path>: Filesystem root[--uv]<connections>: Use libuv[--quiet]: Disable logging to stdout[--help]: Print thishelp

Build


[8]ページ先頭

©2009-2025 Movatter.jp