PostmarkDotNet.PostmarkAdminClient.PostmarkAdminClient C# (CSharp) Method

PostmarkAdminClient() public method

Construct a PostmarkAdminClient.
public PostmarkAdminClient ( string accountToken, int requestTimeoutInSeconds = 30, string apiBaseUri = "https://api.postmarkapp.com" ) : PostmarkDotNet.Model
accountToken string The "accountToken" can be found by logging into your Postmark and navigating to https://postmarkapp.com/account/edit - Keep this token secret and safe.
requestTimeoutInSeconds int The number of seconds to wait for the API to return before throwing a timeout exception.
apiBaseUri string Optionally override the base url to the API. For example, you may fallback to HTTP (non-SSL) if your app requires it, though, this is not recommended.
return PostmarkDotNet.Model
        public PostmarkAdminClient(string accountToken, int requestTimeoutInSeconds = 30, string apiBaseUri = "https://api.postmarkapp.com")
            : base(apiBaseUri, requestTimeoutInSeconds)
        {
            _authToken = accountToken;
        }