- allow parameters within url - allow different methods other then just POST -> still needs to be tested!
12 lines
263 B
C#
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);
|