You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ConnectionBuilderExtensions.cs 317 B

6 年之前
123456789101112
  1. using Microsoft.AspNetCore.Connections;
  2. namespace MQTTnet.AspNetCore
  3. {
  4. public static class ConnectionBuilderExtensions
  5. {
  6. public static IConnectionBuilder UseMqtt(this IConnectionBuilder builder)
  7. {
  8. return builder.UseConnectionHandler<MqttConnectionHandler>();
  9. }
  10. }
  11. }