Skip to content

Commit

Permalink
Merge branch 'mqtt5_websocket' of https://github.com/awslabs/aws-crt-…
Browse files Browse the repository at this point in the history
…swift into mqtt5_websocket
  • Loading branch information
xiazhvera committed May 3, 2024
2 parents 2496a58 + dc39b50 commit 5fa950f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/AwsCommonRuntimeKit/mqtt/Mqtt5Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ extension RetainHandlingType {
public enum OutboundTopicAliasBehaviorType {
/// Maps to Disabled. This keeps the client from being broken (by default) if the broker
/// topic aliasing implementation has a problem.
case `default`
case defaultBehavior

/// Outbound aliasing is the user's responsibility. Client will cache and use
/// previously-established aliases if they fall within the negotiated limits of the connection.
Expand All @@ -563,7 +563,7 @@ extension OutboundTopicAliasBehaviorType {
/// Returns the native representation of the Swift enum
var rawValue: aws_mqtt5_client_outbound_topic_alias_behavior_type {
switch self {
case .default: return AWS_MQTT5_COTABT_DEFAULT
case .defaultBehavior: return AWS_MQTT5_COTABT_DEFAULT
case .manual: return AWS_MQTT5_COTABT_MANUAL
case .lru: return AWS_MQTT5_COTABT_LRU
case .disabled: return AWS_MQTT5_COTABT_DISABLED
Expand Down

0 comments on commit 5fa950f

Please sign in to comment.