Commit Graph

67 Commits

Author SHA1 Message Date
amaitland 9c7bf2e930 Change ResourceHandler to IResourceHandler
Add StatusText
2015-05-27 17:11:52 +10:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
James 44fa52cc96 Update ResourceHandler.cs
Missing mime type for svg added
2015-03-05 14:57:27 +08:00
rassilon a300631954 Do a little cleaning up of StreamAdapter to more effeciently deal with MemoryStreams, and add lame header to ResourceHandler usage in CefExample.cs.
Additionally, allocate Headers NameValueCollection in constructor.
2015-03-02 19:02:37 -05:00
MantisCore 1cc6ab2f5e Changed the ResourceHandler constructor overload taking a stream to a method FromStream instead to make it more consistent with existing methods. 2014-12-27 12:22:16 +01:00
MantisCore eabfcff3fe Added constructor overloads to ResourceHandler to enable supplying an existing resource stream. 2014-12-27 11:56:54 +01:00
amaitland f805f50544 Save the internal byte array of MemoryStream from being expanded unnecessarily as per https://github.com/cefsharp/CefSharp/pull/691#issuecomment-67116871 2014-12-16 16:19:51 +10:00
amaitland e235cf1598 Spelling mistakes 2014-12-16 12:35:03 +10:00
amaitland 85024f2fb0 Add ability to specify FromText Encoding and Preamble (without a preamble then Cef will use DefaultEncoding to render the html) 2014-12-16 10:43:44 +10:00
amaitland 907cca8b53 ResourceHandler formatting change (indentation) 2014-11-25 17:29:39 +10:00
James b57fafe38d Update ResourceHandler.cs
Added override for passing in the file ext to correctly set the correct mime type
2014-11-21 12:43:29 +08:00
amaitland 757bc66122 Untabify 2014-11-18 14:33:26 +10:00
amaitland 8e9c5da0da Add basic example 2014-11-18 12:03:59 +10:00
amaitland da16b3a9bc Add FromString method for loading ResourceHandler from string 2014-11-18 12:03:59 +10:00
amaitland 30c8cf9248 Make ToHeaderMap static in SchemeHandlerWrapper (Needs to be moved to a common place in the future)
Get basic CefStreamResourceHandler compiling
Add headers and status codes to ResourceHandler
2014-11-18 12:03:59 +10:00
amaitland 85c260d07c Implement missing method in StreamAdapter
Implementation of GetResourceHandler still incomplete
2014-11-18 12:03:59 +10:00
amaitland 215f804fb5 Add GetResourceHandler to IRequestHandler interface
Simplify OnBeforeResourceLoad to only support redirect for now
2014-11-18 12:03:59 +10:00