Skip to content

使用客户端基类来简化IoT的Http客户端 #62

使用客户端基类来简化IoT的Http客户端

使用客户端基类来简化IoT的Http客户端 #62

Triggered via push May 17, 2024 07:16
Status Success
Total duration 55s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test: NewLife.Remoting/ClientPoolCluster.cs#L88
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ObjectPool<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
test: NewLife.Remoting/ApiClient.cs#L52
Non-nullable property 'Local' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test: NewLife.Remoting/Http/WebSocketClientCodec.cs#L47
Converting null literal or possible null value to non-nullable type.
test: NewLife.Remoting/Http/WebSocketClientCodec.cs#L50
Possible null reference argument for parameter 'message' in 'object? Handler.Read(IHandlerContext context, object message)'.
test: NewLife.Remoting/Clients/RpcClientBase.cs#L45
Possible null reference return.
test: NewLife.Remoting/Clients/HttpClientBase.cs#L69
Nullability of reference types in value of type 'Task<TResult?>' doesn't match target type 'Task<TResult>'.
test: NewLife.Remoting/Clients/HttpClientBase.cs#L71
Nullability of reference types in value of type 'Task<TResult?>' doesn't match target type 'Task<TResult>'.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/ClientPoolCluster.cs#L88
The type 'T' cannot be used as type parameter 'T' in the generic type or method 'ObjectPool<T>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
test: NewLife.Remoting/WsClient.cs#L244
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L245
Dereference of a possibly null reference.
test: NewLife.Remoting/WsClient.cs#L249
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L340
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/WsClient.cs#L341
Dereference of a possibly null reference.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L46
Cannot convert null literal to non-nullable reference type.
test: NewLife.Remoting/Http/WebSocketServerCodec.cs#L72
Converting null literal or possible null value to non-nullable type.