mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			19 lines
		
	
	
		
			405 B
		
	
	
	
		
			Swift
		
	
			
		
		
	
	
			19 lines
		
	
	
		
			405 B
		
	
	
	
		
			Swift
		
	
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
 | 
						|
//
 | 
						|
// stringlint:disable
 | 
						|
 | 
						|
import Foundation
 | 
						|
import SessionUtilitiesKit
 | 
						|
 | 
						|
public extension Network {
 | 
						|
    enum Destination: Equatable {
 | 
						|
        case snode(LibSession.Snode)
 | 
						|
        case server(
 | 
						|
            url: URL,
 | 
						|
            method: HTTPMethod,
 | 
						|
            headers: [HTTPHeader: String]?,
 | 
						|
            x25519PublicKey: String
 | 
						|
        )
 | 
						|
    }
 | 
						|
}
 |