FastPushClient.NET 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FastPushClient.NET --version 1.0.0
NuGet\Install-Package FastPushClient.NET -Version 1.0.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="FastPushClient.NET" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FastPushClient.NET --version 1.0.0
#r "nuget: FastPushClient.NET, 1.0.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 FastPushClient.NET as a Cake Addin
#addin nuget:?package=FastPushClient.NET&version=1.0.0

// Install FastPushClient.NET as a Cake Tool
#tool nuget:?package=FastPushClient.NET&version=1.0.0
集成demo
using System;
using System.Threading;
using FastLivePushClient.CoreLib;
using FastLivePushClient.Entity;
using FastLivePushClient.Payload;

namespace FastLivePushAppEndpointDemo
{
    internal class Program
    {
        private static readonly NLog.Logger Logger = NLog.LogManager.GetCurrentClassLogger();

        public static void Main(string[] args)
        {
            var info = new AppInfo("a127297f117c4a3fb095a15443bc96fc", "b4722bb12f30485582fb3e3a5c6157c6",
                "NUhONBRTxPxFtFkH78P9AJ2EDUJ1EeoaFzGVoJUz5BcYFtqiag0baRw61y1ycoZaYpkxp9BC08K2F8h2II4tyQ==");
            var client = new PushClient().SetAppInfo(info);


            client.AddInitailListener((code, message) =>
            {
                Logger.Info("SDK Initail: StatusCode :{0} Message:{1}", code, message);
            });
            client.AddSendListener((code, message) =>
            {
                Logger.Info("Local Send: StatusCode :{0} Message:{1}", code, message);
            });
            client.AddNotifyListener((code, message) =>
            {
                Logger.Info("Notification Status: StatusCode :{0} Message:{1}", code, message);
            });
            client.BuildClient();

            // http客户端
            var httpClient = new FastLiveHttpClient(info);


            Thread.Sleep(4000);

            if (client.IsReady())
            {
                for (int i = 0; i < 1000; i++)
                {
                    var body = MessageBody.Create($"C# 消息 : {i}", "C#消息体", null);
                    var notify = Notification.Create("8613810654610", EnumMessage.Priority.LOW, body);
                    client.SendPushNotification(notify);
                }
            }

            Console.ReadLine();
        }
    }
}
Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.3 481 1/12/2022
1.0.0.2 424 1/11/2022
1.0.0.1 253 1/10/2022
1.0.0 258 1/9/2022