mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
WCFProtocol -> WCFBinding
More appropriate
This commit is contained in:
@@ -117,6 +117,10 @@ namespace ConfigGenerator {
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public EUpdateChannel UpdateChannel { get; set; } = EUpdateChannel.Stable;
|
||||
|
||||
[LocalizedCategory("Access")]
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public EWCFBinding WCFBinding { get; set; } = EWCFBinding.NetTcp;
|
||||
|
||||
[LocalizedCategory("Access")]
|
||||
[JsonProperty]
|
||||
public string WCFHost { get; set; } = "127.0.0.1";
|
||||
@@ -125,10 +129,6 @@ namespace ConfigGenerator {
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public ushort WCFPort { get; set; } = DefaultWCFPort;
|
||||
|
||||
[LocalizedCategory("Access")]
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public EWCFProtocol WCFProtocol { get; set; } = EWCFProtocol.NetTcp;
|
||||
|
||||
[SuppressMessage("ReSharper", "UnusedMember.Local")]
|
||||
private GlobalConfig() { }
|
||||
|
||||
@@ -225,7 +225,7 @@ namespace ConfigGenerator {
|
||||
Experimental
|
||||
}
|
||||
|
||||
internal enum EWCFProtocol : byte {
|
||||
internal enum EWCFBinding : byte {
|
||||
NetTcp,
|
||||
BasicHttp,
|
||||
WSHttp
|
||||
|
||||
Reference in New Issue
Block a user