Skip to content

Commit

Permalink
Made Models Properties Public
Browse files Browse the repository at this point in the history
  • Loading branch information
diogobalseiro committed Nov 11, 2024
1 parent c7e2d1a commit dbf8c21
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions NetworkMonitor/Classes/Profile/FNMProfile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ extension Sequence where Iterator.Element == FNMProfile.ProfileRequestMatchingRe

public final class FNMProfileRequest: NSObject {

let urlPattern: FNMRequestURLPattern
let httpMethod: FNMHTTPMethod
let headers: [String: String]?
let body: Data?
public let urlPattern: FNMRequestURLPattern
public let httpMethod: FNMHTTPMethod
public let headers: [String: String]?
public let body: Data?

public init(urlPattern: FNMRequestURLPattern,
httpMethod: FNMHTTPMethod = .get,
Expand Down Expand Up @@ -338,14 +338,14 @@ extension FNMResponseRepeatability: Equatable {

public final class FNMProfileResponse: NSObject {

let identifier: String
public let identifier: String

let meta: FNMHTTPURLResponse
let response: Data?
let redirectionURL: URL?
public let meta: FNMHTTPURLResponse
public let response: Data?
public let redirectionURL: URL?

var repeatability: FNMResponseRepeatability
let delay: TimeInterval
public private(set) var repeatability: FNMResponseRepeatability
public let delay: TimeInterval

public init(identifier: String,
meta: FNMHTTPURLResponse,
Expand Down Expand Up @@ -439,7 +439,7 @@ public extension FNMProfileResponse {

public final class FNMHTTPURLResponse: NSObject {

let meta: HTTPURLResponse
public let meta: HTTPURLResponse

init(meta: HTTPURLResponse) {

Expand Down

0 comments on commit dbf8c21

Please sign in to comment.