-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Version 4 #6
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…elf. The data is now lazy evaluated.
I am finishing up this PR and create a new version for new features or fixes. |
00925eb
to
098804f
Compare
098804f
to
a0d865b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The next major release is coming and with it a ton of changes. Some of them will add behavior, some will change it and some will break support with older releases. Here is a small list of all changes that will be included in this major release:
Api Changes
Added
MaxLib.WebServer.HttpFileDataSource(string path)
Renamed or Changed
MaxLib.WebServer.HttpDataSource.WriteStreamInternal(Stream stream, long start, long? stop)
has been changed toWriteStreamInternal(Stream stream)
.MaxLib.WebServer.HttpFileDataSource
has been changed fromMaxLib.WebServer.HttpDataSource
toMaxLib.WebServer.HttpStreamDataSource
MaxLib.WebServer.HttpFileDataSource.File
has been changed fromFileStream?
toFileStream
MaxLib.WebServer.HttpFileDataSource.Path
has been changed fromstring?
tostring
MaxLib.WebServer.HttpFileDataSource.Path
is no longer virtual and now read onlyMaxLib.WebServer.HttpHeader.HeaderParameter
has been changed fromDictionary<string, string>
toObservableDictionary<string, string>
MaxLib.WebServer.HttpRequestHeader.FieldAccept
has been changed fromList<string>
toReadOnlyCollection<string>
MaxLib.WebServer.HttpRequestHeader.FieldAcceptCharset
has been changed fromList<string>
toReadOnlyCollection<string>
MaxLib.WebServer.HttpRequestHeader.FieldAcceptEncoding
has been changed fromList<string>
toReadOnlyCollection<string>
MaxLib.WebServer.Remote.MarshalContainer
got the same changes as the API inMaxLib.WebServer.HttpDataSource
.MaxLib.WebServer.SSL.DualSecureWebServerSettings.Certificate
has been changed fromX509Certificate?
toX509Certificate
Deprecated
MaxLib.WebServer.Api.*
namespace. Use the Builder system inMaxLib.WebServer.Builder.*
instead. This is done because both contained similar features and in favor of the Builder system the less feature rich Api system is now deprecated.MaxLib.WebServer.Services.StandardDocumentLoader
. If you are really in need of this feature you can build your own with the Builder system or WebService in some lines. This class was just some code that nobody really need it.Removed
MaxLib.WebServer.HttpDataSource.CanAcceptData
and in every inherited class.MaxLib.WebServer.HttpDataSource.CanProvideData
and in every inherited class.MaxLib.WebServer.HttpDataSource.ReadStreamInternal(Stream stream, long? length)
MaxLib.WebServer.HttpDataSource.WriteStream(Stream stream, long start, long? stop)
MaxLib.WebServer.HttpDataSource.ReadStream(Stream stream, long? length)
MaxLib.WebServer.HttpDataSource.RangeStart
MaxLib.WebServer.HttpDataSource.RangeEnd
MaxLib.WebServer.HttpDataSource.TransferCompleteData
MaxLib.WebServer.HttpFileDataSource(string? path, bool readOnly)
MaxLib.WebServer.HttpStreamDataSource.ReadOnly
MaxLib.WebServer.HttpStreamDataSource(Stream stream, bool readOnly)
MaxLib.WebServer.SSL.DualSecureWebServerSettings(string settingsFolderPath)
MaxLib.WebServer.SSL.SecureWebServerSettings(string settingsFolderPath)
MaxLib.WebServer.Services.HttpHeaderPostParser
. The behavior is moved to the Header itself and will be lazy evaluated.MaxLib.WebServer.WebServerSettings.DefaultFileMimeAssociation
. Same behavior can provideMaxLib.WebServer.MimeType
MaxLib.WebServer.WebServerSettings.SettingsPath
MaxLib.WebServer.WebServerSettings.LoadSettingFromData(string data)
MaxLib.WebServer.WebServerSettings.LoadSetting(string path)
MaxLib.WebServer.WebServerSettings.Load_Mime(IniFile set)
MaxLib.WebServer.WebServerSettings.Load_Server(IniFile set)
MaxLib.WebServer.WebServerSettings(string settingFolderPath)
Behind the Scenes
MaxLib.WebServer.HttpDataSource
has been changed.MaxLib.WebServer.HttpPartialSource
.MaxLib.WebServer.HttpHeader
MaxLib.Ini