mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
1c474955de
Got the updated file upload working Removed the legacy 'room' header Consolidated a number of types between SOGS, FileServer and general requests Updated the OnionRequestAPI to deal with a Data payload (rather than encoding it to a string and then back to data)
12 lines
394 B
Swift
12 lines
394 B
Swift
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import Foundation
|
|
|
|
enum QueryParam: String {
|
|
case publicKey = "public_key"
|
|
case fromServerId = "from_server_id"
|
|
|
|
case required = "required"
|
|
case limit // For messages - number between 1 and 256 (default is 100)
|
|
case platform // For file server session version check
|
|
}
|