Commit Graph

20 Commits

Author SHA1 Message Date
Aliaksandr Valialkin 3cc7fe9675 Moved byte slice manipulation functions to bytesconv.go 2015-11-22 13:45:42 +02:00
Aliaksandr Valialkin a862d8592a Documentation update 2015-11-22 06:33:58 +02:00
Aliaksandr Valialkin 924d119e96 Added Cookie.WriteTo 2015-11-22 01:32:39 +02:00
Aliaksandr Valialkin 48c0f89ee7 Added Stringer implementations to URI, Args and Cookie 2015-11-19 12:51:34 +02:00
Aliaksandr Valialkin b5a101843a Added SetUint helper to Args 2015-11-19 12:27:01 +02:00
Aliaksandr Valialkin 835bf87605 API consistency: Clear -> Reset to be consistent with standard go packages 2015-11-18 17:55:28 +02:00
Aliaksandr Valialkin f1f78f0828 Hide Request.URI and Request.PostArgs behind accessors, which automatically call parse URI and PostArgs on first access 2015-11-15 23:47:22 +02:00
Aliaksandr Valialkin 8a42c802f5 Optimized Peek() function for args and request header cookies 2015-11-14 20:38:47 +02:00
Aliaksandr Valialkin 88e41d9b08 Removed accessors converting []byte to string, i.e. allocating memory. This should reduce memory usage for apps using fasthttp, since now they shoud either use []byte or do string() conversion on their own :) 2015-11-14 18:25:00 +02:00
Aliaksandr Valialkin 9735e0127b Exported ParseUint, ParseUfloat and AppendHTTPDate, which may be frequently used in http apps 2015-11-11 11:00:22 +02:00
Aliaksandr Valialkin f1ff68f9f1 Optimized args, cookies and headers parsing 2015-11-05 14:28:07 +02:00
Aliaksandr Valialkin 227b0a4bd3 Trim input buffer inside decodeArg 2015-11-05 13:10:56 +02:00
Aliaksandr Valialkin 44826d0838 Improved Args parsing speed 2015-11-05 13:03:47 +02:00
Aliaksandr Valialkin 03ebc8df37 Properly implement Args.Has* for args with nil value 2015-11-04 17:59:49 +02:00
Aliaksandr Valialkin d70261286c Added CopyTo, VisitAll and *Bytes* helper functions to Args, RequestHeader and ResponseHeader 2015-10-27 12:53:33 +02:00
Aliaksandr Valialkin e9d6d7f561 Document Request, Response, RequestHeader, ResponseHeader, URI and Args 2015-10-23 15:56:12 +03:00
Aliaksandr Valialkin bf2a91a77b Do not encode dot in args 2015-10-22 17:48:14 +03:00
Aliaksandr Valialkin 9798f80336 Added ability to set/get arbitrary request headers 2015-10-19 20:55:49 +03:00
Aliaksandr Valialkin ffc5e4a8ca Convert CopyBytesStr() to more generic AppendBytesStr() 2015-10-19 13:58:44 +03:00
Aliaksandr Valialkin a049630bca initial commit 2015-10-19 01:21:09 +03:00