]> git.tdb.fi Git - libs/net.git/log
libs/net.git
14 years agoAdd destructor to Protocol::PacketDef
Mikko Rasa [Sun, 13 Dec 2009 14:22:47 +0000 (14:22 +0000)]
Add destructor to Protocol::PacketDef

14 years agoAdd functions for parsing and building URIs and query strings
Mikko Rasa [Sat, 8 Aug 2009 21:41:01 +0000 (21:41 +0000)]
Add functions for parsing and building URIs and query strings
Use the new parse_url function in Request::from_url
Add urlencode_plus function
Support POST method
Three different encoding levels for urlencode
Add Message::has_header to check for header existence without exceptions

14 years agoFix a comparison operator on win32
Mikko Rasa [Sun, 5 Jul 2009 20:37:08 +0000 (20:37 +0000)]
Fix a comparison operator on win32

14 years agoSupport handling requests asynchronously
Mikko Rasa [Sun, 5 Jul 2009 20:36:37 +0000 (20:36 +0000)]
Support handling requests asynchronously
Add urlencode/urldecode functions

15 years agoAdd protocol framework
Mikko Rasa [Mon, 2 Mar 2009 09:11:08 +0000 (09:11 +0000)]
Add protocol framework
Set event mask in StreamSocket when connect finishes instantly

15 years agoAdd Server class
Mikko Rasa [Thu, 25 Dec 2008 08:44:19 +0000 (08:44 +0000)]
Add Server class
Get rid of the X-Port header and put port in Host, as per HTTP spec
Support for User-Agent header in Client
Move header parsing to Message
Normalize header names to make each word start with uppercase letter

15 years agoRename data to content in Message
Mikko Rasa [Wed, 24 Dec 2008 07:26:59 +0000 (07:26 +0000)]
Rename data to content in Message
Make Client::use_event_dispatcher more robust
Make the Status enum values all uppercase
Move the typedef of HeaderMap inside Message
Rename misc.* to version.*
Add a user_data field to Message and copy it rom request to response in Client
Update class member ordering

15 years agoClear connected flag in Socket::close
Mikko Rasa [Mon, 15 Dec 2008 12:05:14 +0000 (12:05 +0000)]
Clear connected flag in Socket::close

15 years agoInitial revision
Mikko Rasa [Sun, 16 Nov 2008 12:42:29 +0000 (12:42 +0000)]
Initial revision

15 years agoCreate standard directories
System Administrator [Sun, 16 Nov 2008 12:36:42 +0000 (12:36 +0000)]
Create standard directories

15 years agoAdd WSAEventSelect to DatagramSocket
Mikko Rasa [Thu, 13 Nov 2008 12:47:45 +0000 (12:47 +0000)]
Add WSAEventSelect to DatagramSocket
Remove outdated get_initial_events

15 years agoReorder class members
Mikko Rasa [Wed, 20 Aug 2008 20:17:13 +0000 (20:17 +0000)]
Reorder class members
Update svn:ignore

15 years agoUse SystemError at appropriate places
Mikko Rasa [Fri, 27 Jun 2008 06:16:42 +0000 (06:16 +0000)]
Use SystemError at appropriate places

15 years agoInitial revision
Mikko Rasa [Mon, 28 Apr 2008 14:23:18 +0000 (14:23 +0000)]
Initial revision

16 years agoCreate standard directories
System Administrator [Sun, 27 Apr 2008 13:10:38 +0000 (13:10 +0000)]
Create standard directories