Commit Graph

15 Commits

Author SHA1 Message Date
amaitland c8d73574da Add cancel param to ProcessRequestCallback - previously only able to call the Continue() method on the callback 2015-06-05 12:12:33 +10:00
amaitland 1fdf6da796 Default StatusCode = 200 and StatusText = "OK"
Remove the check ResourceHandlerWrapper - use the default value for StatusCode
2015-05-28 20:55:42 +10:00
amaitland 2983bf7383 Change ContentLength to be a long (int64)
Set ContentLength in ResourceHandler when using a MemoryStream
2015-05-27 18:01:17 +10:00
amaitland 37384a9461 Rename SchemeHandlerResponse to ResourceHandlerResponse 2015-05-27 17:14:42 +10:00
amaitland 9c7bf2e930 Change ResourceHandler to IResourceHandler
Add StatusText
2015-05-27 17:11:52 +10:00
rassilon 61ce52a2a4 Merge remote-tracking branch 'origin/cef/2272' into cleanup/resourcehandler
Conflicts:
	CefSharp.Core/SchemeHandlerFactoryWrapper.cpp
	CefSharp.Core/SchemeHandlerFactoryWrapper.h
	CefSharp.Core/SchemeHandlerResponse.cpp

Merge merge merge, merges are fun.
2015-04-25 03:06:21 -04:00
amaitland 1863c571ae Extract ISchemeHandlerResponse into IResourceHandlerResponse and mark as obsolete 2015-04-17 13:07:07 +10:00
amaitland 98e89111f4 Remove unnecessary ret value and simply use bytes_read instead 2015-04-17 13:07:06 +10:00
amaitland e07148815e Fix has_data naming - remove underscore
Replace if statement with ternary operator for response_length
2015-04-17 13:07:06 +10:00
amaitland a904e6c667 Simplify code by removing local variable handled variable - simply return 2015-04-17 13:07:05 +10:00
amaitland f38438874c Resolve SeekOrigin ambiguous reference 2015-04-17 13:07:05 +10:00
amaitland 3551faa364 Move ToHeaderMap method into TypeConversion as it's generic and used in two places 2015-04-17 13:07:04 +10:00
amaitland 5cc55b50ad Switch SchemeHandlerResponse to using a more traditional destructor and calling delete on the object (I think it explains the behaviour better when reading the code) 2015-04-17 13:07:04 +10:00
amaitland 16e785a723 Remove OnRequestCompletedHandler action wrapper and expose the method directly on SchemeHandlerResponse 2015-04-17 13:07:03 +10:00
amaitland 6480706ced Rename SchemeHandlerWrapper to ResourceHandlerWrapper 2015-04-17 13:07:03 +10:00