feat(GtxMessagingService): Eingespritzter Client.IHttpClientService
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
namespace EnvelopeGenerator.Application.Configurations.GtxMessaging
|
||||
using DigitalData.Core.Abstractions.Client;
|
||||
|
||||
namespace EnvelopeGenerator.Application.Configurations.GtxMessaging
|
||||
{
|
||||
/// <summary>
|
||||
/// https://www.gtx-messaging.com/en/api-docs/sms-rest-api/
|
||||
/// </summary>
|
||||
public class SmsParams
|
||||
public class SmsParams : IHttpClientOptions
|
||||
{
|
||||
//TODO: Add a regex check to init methods to reduce the chance of errors.
|
||||
public required string Endpoint { get; init; } = "https://rest.gtx-messaging.net/smsc/sendsms";
|
||||
public string Uri { get; set; } = "https://rest.gtx-messaging.net";
|
||||
|
||||
public string Path { get; set; } = "smsc/sendsms";
|
||||
|
||||
// path params
|
||||
public required string AuthKey { get; init; }
|
||||
|
||||
Reference in New Issue
Block a user