-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baeda84
commit 01ae5e9
Showing
1 changed file
with
58 additions
and
58 deletions.
There are no files selected for viewing
116 changes: 58 additions & 58 deletions
116
packages/csharp/ArmoniK.Api.Client/Options/GrpcClient.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
// This file is part of the ArmoniK project | ||
// | ||
// Copyright (C) ANEO, 2021-2022. All rights reserved. | ||
// W. Kirschenmann <[email protected]> | ||
// J. Gurhem <[email protected]> | ||
// D. Dubuc <[email protected]> | ||
// L. Ziane Khodja <[email protected]> | ||
// F. Lemaitre <[email protected]> | ||
// S. Djebbar <[email protected]> | ||
// J. Fonseca <[email protected]> | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License") | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
using ArmoniK.Api.Client.Submitter; | ||
|
||
using JetBrains.Annotations; | ||
|
||
namespace ArmoniK.Api.Client.Options | ||
{ | ||
/// <summary> | ||
/// Options for creating a gRPC Client with <see cref="GrpcChannelFactory" /> | ||
/// </summary> | ||
[PublicAPI] | ||
public class GrpcClient | ||
{ | ||
public const string SettingSection = nameof(GrpcClient); | ||
|
||
/// <summary> | ||
/// Endpoint for sending requests | ||
/// </summary> | ||
public string? Endpoint { get; set; } | ||
|
||
/// <summary> | ||
/// Allow unsafe connections to the endpoint (without SSL), defaults to false | ||
/// </summary> | ||
public bool AllowUnsafeConnection { get; set; } | ||
|
||
/// <summary> | ||
/// Path to the certificate file in pem format | ||
/// </summary> | ||
public string CertPem { get; set; } = ""; | ||
|
||
/// <summary> | ||
/// Path to the key file in pem format | ||
/// </summary> | ||
public string KeyPem { get; set; } = ""; | ||
} | ||
} | ||
// This file is part of the ArmoniK project | ||
// | ||
// Copyright (C) ANEO, 2021-2022. All rights reserved. | ||
// W. Kirschenmann <[email protected]> | ||
// J. Gurhem <[email protected]> | ||
// D. Dubuc <[email protected]> | ||
// L. Ziane Khodja <[email protected]> | ||
// F. Lemaitre <[email protected]> | ||
// S. Djebbar <[email protected]> | ||
// J. Fonseca <[email protected]> | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License") | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
using ArmoniK.Api.Client.Submitter; | ||
|
||
using JetBrains.Annotations; | ||
|
||
namespace ArmoniK.Api.Client.Options | ||
{ | ||
/// <summary> | ||
/// Options for creating a gRPC Client with <see cref="GrpcChannelFactory" /> | ||
/// </summary> | ||
[PublicAPI] | ||
public class GrpcClient | ||
{ | ||
public const string SettingSection = nameof(GrpcClient); | ||
|
||
/// <summary> | ||
/// Endpoint for sending requests | ||
/// </summary> | ||
public string? Endpoint { get; set; } | ||
|
||
/// <summary> | ||
/// Allow unsafe connections to the endpoint (without SSL), defaults to false | ||
/// </summary> | ||
public bool AllowUnsafeConnection { get; set; } | ||
|
||
/// <summary> | ||
/// Path to the certificate file in pem format | ||
/// </summary> | ||
public string CertPem { get; set; } = ""; | ||
|
||
/// <summary> | ||
/// Path to the key file in pem format | ||
/// </summary> | ||
public string KeyPem { get; set; } = ""; | ||
} | ||
} |