valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
225 stars 23 forks source link

Rewrite upon GLib.SocketAddress #195

Closed arteymix closed 7 years ago

arteymix commented 7 years ago

This will require a good revamp of the documentation.

Some goodies:

var http_server Server.new ("http", https: true, /* pass certificate and key */);

http_server.listen (new InetSocketAddress (new InetAddress.loopback (SocketFamily.IPV4), 
                                           3003);

new MainLoop.run ();

It's the last feature that will be introduced for the 0.3 series so that we can get some serious traction before introducing more.

codecov-io commented 7 years ago

Current coverage is 53.27% (diff: 41.53%)

Merging #195 into master will decrease coverage by 11.70%

@@             master       #195   diff @@
==========================================
  Files            40         45     +5   
  Lines          1211       1601   +390   
  Methods           0          0          
  Messages          0          0          
  Branches        136        192    +56   
==========================================
+ Hits            787        853    +66   
- Misses          380        688   +308   
- Partials         44         60    +16   

Powered by Codecov. Last update 5220cbc...dc5c293