Skip to content

Commit

Permalink
refactor(server-abstractions,connector-abstractions): remove deprecat…
Browse files Browse the repository at this point in the history
…ed X- from custom headers
  • Loading branch information
thomashilzendegen authored and gingters committed Mar 19, 2024
1 parent 7fd6bb1 commit 7f038c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/Thinktecture.Relay.Connector.Abstractions/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,27 @@ public static class HeaderNames
/// The url to use for acknowledging a request by issuing as POST with an empty body to it.
/// </summary>
/// <remarks>This will only be present when manual acknowledgement is needed.</remarks>
public const string AcknowledgeUrl = "X-RelayServer-AcknowledgeUrl";
public const string AcknowledgeUrl = "RelayServer-AcknowledgeUrl";

/// <summary>
/// The unique id of the request.
/// </summary>
public const string RequestId = "X-RelayServer-RequestId";
public const string RequestId = "RelayServer-RequestId";

/// <summary>
/// The unique id of the origin receiving the request.
/// </summary>
public const string OriginId = "X-RelayServer-OriginId";
public const string OriginId = "RelayServer-OriginId";

/// <summary>
/// The machine name of the connector handling the request.
/// </summary>
public const string ConnectorMachineName = "X-RelayServer-Connector-MachineName";
public const string ConnectorMachineName = "RelayServer-Connector-MachineName";

/// <summary>
/// The version of the connector handling the request.
/// </summary>
public const string ConnectorVersion = "X-RelayServer-Connector-Version";
public const string ConnectorVersion = "RelayServer-Connector-Version";
}

/// <summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Thinktecture.Relay.Server.Abstractions/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static class HeaderNames
/// <summary>
/// Enables tracing of the particular request when present.
/// </summary>
/// <remarks>The value is ignored.</remarks>
public const string EnableTracing = "X-RelayServer-EnableTracing";
/// <remarks>The value of the header is ignored.</remarks>
public const string EnableTracing = "RelayServer-EnableTracing";
}
}

0 comments on commit 7f038c0

Please sign in to comment.