NSE user agent support (#1507)

This commit is contained in:
Mauro
2023-08-17 15:11:34 +02:00
committed by GitHub
parent a11325bcb4
commit 8188fd2d2a
8 changed files with 31 additions and 9 deletions
+1
View File
@@ -30,6 +30,7 @@ final class NSEUserSession {
baseClient = try ClientBuilder()
.basePath(path: URL.sessionsBaseDirectory.path)
.username(username: credentials.userID)
.userAgent(userAgent: UserAgentBuilder.makeASCIIUserAgent())
.build()
try baseClient.restoreSession(session: credentials.restorationToken.session)