Skip to content

Websocket Support

Websocket Support #615

Triggered via pull request September 5, 2024 09:14
@pglombardopglombardo
synchronize #190
websockets
Status Success
Total duration 7m 4s
Artifacts 3

build.yml

on: pull_request
Matrix: build
publish
5s
publish
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Possible null reference argument for parameter 'buffer' in 'Task MemoryStream.WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)'.
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/internal/Validator.cs#L43
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time.
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/MQTT5/Packets/ConnectPacket.cs#L124
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L296
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L312
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-8.0.x: Source/HiveMQtt/Client/HiveMQClientUtil.cs#L115
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time.
pipeline-ubuntu-latest-dotnet-7.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Possible null reference argument for parameter 'buffer' in 'Task MemoryStream.WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)'.
pipeline-ubuntu-latest-dotnet-7.0.x: Source/HiveMQtt/Client/internal/Validator.cs#L43
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
pipeline-ubuntu-latest-dotnet-7.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
pipeline-ubuntu-latest-dotnet-7.0.x: Source/HiveMQtt/Client/HiveMQClientUtil.cs#L115
Use 'GeneratedRegexAttribute' to generate the regular expression implementation at compile-time. (https://learn.microsoft.com/dotnet/fundamentals/syslib-diagnostics/syslib1045)
pipeline-ubuntu-latest-dotnet-7.0.x: Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L296
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-7.0.x: Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L312
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-6.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Possible null reference argument for parameter 'buffer' in 'Task MemoryStream.WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)'.
pipeline-ubuntu-latest-dotnet-6.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Change the 'WriteAsync' method call to use the 'Stream.WriteAsync(ReadOnlyMemory<byte>, CancellationToken)' overload (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1835)
pipeline-ubuntu-latest-dotnet-6.0.x: Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L296
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-6.0.x: Source/HiveMQtt/MQTT5/Packets/PublishPacket.cs#L312
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-6.0.x: Source/HiveMQtt/MQTT5/Packets/ConnectPacket.cs#L124
Remove redundant equality (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0100)
pipeline-ubuntu-latest-dotnet-6.0.x: Source/HiveMQtt/Client/Transport/WebSocketTransport.cs#L120
Possible null reference argument for parameter 'buffer' in 'Task MemoryStream.WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)'.

Artifacts

Produced during runtime
Name Size Digest
nuget-packages-6.0.x Expired
414 KB
sha256:b212fd4aea8745a6b029a1839c00ae08fedef7c1723f9d41206c087336685123
nuget-packages-7.0.x Expired
414 KB
sha256:1af2feb795058550f4a9c0b3a8b5e8ec10d0a59e24ff3deb4667f0b8e4c65286
nuget-packages-8.0.x Expired
414 KB
sha256:3477c6ff8803999ab5a7840e51b4c8a11d564b88ff86b44a205af9032833c5c6