kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

pipe_task.conf (281B)



      1 # Kore pipe_task example
      2 
      3 server tls {
      4 	bind 127.0.0.1 8888
      5 }
      6 
      7 websocket_maxframe	65536
      8 websocket_timeout	10000
      9 
     10 domain * {
     11 	attach		tls
     12 
     13 	certfile	cert/server.pem
     14 	certkey		cert/key.pem
     15 
     16 	route / {
     17 		handler page
     18 	}
     19 
     20 	route /connect {
     21 		handler page_ws_connect
     22 		methods get
     23 	}
     24 }