Files
Pilz/Pilz.Net/Api/ApiRequestInfo.cs
Pilzinsel64 9dcaa7e507 add support for REST-ful API building
- allow parameters within url
- allow different methods other then just POST
-> still needs to be tested!
2024-11-28 09:03:48 +01:00

12 lines
263 B
C#

using System.Diagnostics.CodeAnalysis;
namespace Pilz.Net.Api;
public record class ApiRequestInfo(
ApiMessage? Message,
[property: MemberNotNullWhen(true, "AuthKey")]
bool IsAuthenticated,
string? AuthKey,
string Url,
string Method);