Skip to content

Commit

Permalink
Make the api public.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Borinschi committed Dec 5, 2024
1 parent 849a761 commit a9b09d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Relay/Relay/Sources/Relay/Relay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public final class Relay {
/// - jsonValueOverrides: A dictionary of JSON keys and their replacement values in responses.
/// - Returns: A `RecordingAndReplayingRequestProcessor` instance for handling requests.
@discardableResult
static func recordAndReplay(
public static func recordAndReplay(
recordingRootFolder: String = #file,
recordingFolder: String = #function,
isRecordingEnabled: Bool = false,
Expand Down Expand Up @@ -53,7 +53,7 @@ public final class Relay {
/// - requestProcessor: The request processor to handle requests.
/// - urlKeywords: A list of keywords to filter URLs for interception.
/// - jsonValueOverrides: A dictionary of JSON keys and their replacement values in responses.
static func interceptAndModify(
public static func interceptAndModify(
requestProcessor: RequestProcessor = LiveRequestAndReplayRequestProcessor(),
urlKeywords: [String] = [],
jsonValueOverrides: [String: String] = [:]
Expand All @@ -78,7 +78,7 @@ public final class Relay {
/// - interceptionConfig: Configuration for intercepting and modifying requests.
/// - Returns: A `RecordingAndReplayingRequestProcessor` instance for handling requests.
@discardableResult
static func startRecordingAndReplaying(
public static func startRecordingAndReplaying(
recordingConfig: RecordingConfig = RecordingConfig(
rootPath: #file,
subfolder: #function,
Expand Down Expand Up @@ -109,7 +109,7 @@ public final class Relay {
/// - Parameters:
/// - requestProcessor: The request processor to handle requests.
/// - interceptionConfig: Configuration for intercepting and modifying requests.
static func startInterceptingAndModifying(
public static func startInterceptingAndModifying(
requestProcessor: RequestProcessor = LiveRequestAndReplayRequestProcessor(),
interceptionConfig: InterceptionConfig = InterceptionConfig(
urlKeywords: [],
Expand Down

0 comments on commit a9b09d6

Please sign in to comment.