XmppSharp 3.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package XmppSharp --version 3.2.0
NuGet\Install-Package XmppSharp -Version 3.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XmppSharp" Version="3.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XmppSharp --version 3.2.0
#r "nuget: XmppSharp, 3.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XmppSharp as a Cake Addin
#addin nuget:?package=XmppSharp&version=3.2.0

// Install XmppSharp as a Cake Tool
#tool nuget:?package=XmppSharp&version=3.2.0

XMPP#

github

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 use IParsable<T> abstract static interfaces feature, for parsing attribute values.

3.1.2

  • Added missing StartTag and EndTag 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 to XmppParser::AdvanceAsync for async version and leave XmppParser::Advance for sync method version.
  • Added GetAwaiter in XMPP parser for simple calling await myParser; have same behaviour and return same result as calling await myParser.AdvanceAsync()

3.1.4

  • Minor fixes around XmppParser and added helper method to advance and get next element.

3.1.5

  • 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 (from AspNetCore repo) to calling async functions in sync methods.

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.

3.1.7


  • Minor improvements.
  • Renamed DefaultXmppParserXmppStreamParser
  • Added helper methods for fast loading XML from string and streams.
  • Improvements to help detect when parser really completed parsing.
  • Added missing TimeSpan parser in TryParseHelpers.
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
4.0.1 82 5/21/2024
3.2.0 69 5/14/2024
3.1.1 89 4/28/2024
3.1.0 106 4/17/2024
3.0.0 93 4/16/2024
2.0.1 116 4/12/2024
1.4.2 100 4/2/2024