XmppSharp 3.1.6
dotnet add package XmppSharp --version 3.1.6
NuGet\Install-Package XmppSharp -Version 3.1.6
<PackageReference Include="XmppSharp" Version="3.1.6" />
paket add XmppSharp --version 3.1.6
#r "nuget: XmppSharp, 3.1.6"
// Install XmppSharp as a Cake Addin
#addin nuget:?package=XmppSharp&version=3.1.6
// Install XmppSharp as a Cake Tool
#tool nuget:?package=XmppSharp&version=3.1.6
XMPP#
A manipulation library and utility with the main objective to reduce the level of unnecessary verbosity for constructing XML tags for XMPP protocol, supporting net6.0
, net7.0
and net8.0
.
Version History
3.0.0
- Most big change! Bring back own XML implementation supporting nodes:
Element
Text
Comment
Cdata
3.1.0
- Add enhanced utilities & helper methods to interact with element and nodes.
3.1.1
- Minor fixes.
- Fixed wrong sub classing around some elements.
- Added full control about XML formatting.
- In .Net6 use
TryParseHelper
helper methods to parse attribute values. While in .Net7 or higher useIParsable<T>
abstract static interfaces feature, for parsing attribute values.
3.1.2
- Added missing
StartTag
andEndTag
in elements. Both strings will contains well-formed XML string. - Ability to make a shallow copy of element instead a full copy with
Element.Clone(deep)
overload. - More formatting options in
XmlFormatting
structure.
3.1.3
- Enhance XMPP parser with different ctors provide an Stream or an factory function to create an stream.
XmppParser::Reset()
no longer needs an stream as argument. - Renamed
XmppParser::Advance
toXmppParser::AdvanceAsync
for async version and leaveXmppParser::Advance
for sync method version. - Added
GetAwaiter
in XMPP parser for simple callingawait myParser;
have same behaviour and return same result as callingawait myParser.AdvanceAsync()
3.1.4
- Minor fixes around
XmppParser
and added helper method to advance and get next element.
3.1.5
- Rename
XmppParser
toDefaultXmppParser
to indicade this uses regular .NETXmlReader
to parse xmpp packets. - Add basic abstraction layer to implement your own xmpp parser. Also i'm releasing a separated package
XmppSharp.Expat
to provide expat XMPP parser implementation. (Note: You must install native libraries to use expat. - Added
AsyncHelper
(fromAspNetCore
repo) to calling async functions in sync methods.
In XMPP# repository i did an github actions to automatically build expat using vcpkg with most common systems: ubuntu, macos, windows but only x64 is working at this moment). Consider using XmppShap.Expat package too if you need a fast and stable parser.
3.1.6
- Minor improvements.
- Fixed wrong indent chars & side for default formatting options.
- Fixed
Element.Value
returning entire inner text from all descendant nodes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on XmppSharp:
Package | Downloads |
---|---|
XmppSharp.Expat
XMPP# expat parser implementation. |
GitHub repositories
This package is not used by any popular GitHub repositories.