skip to Main Content

Android Studio – how can align statements on kotlin in android studio?

how can I align statements as follows: const val KEY_UPLOAD_NATIONAL_CARD_1 = "national_card_page_1_img_url" const val KEY_UPLOAD_NATIONAL_CARD_2 = "national_card_page_2_img_url" const val KEY_UPLOAD_PROFILE_PIC = "profile_pic_url" instead of: const val KEY_UPLOAD_NATIONAL_CARD_1 = "national_card_page_1_img_url" const val KEY_UPLOAD_NATIONAL_CARD_2 = "national_card_page_2_img_url" const val KEY_UPLOAD_PROFILE_PIC = "profile_pic_url"

VIEW QUESTION

How to build a secure (wss://…) websocket server using Kotlin's ktor? – Nginx

I've found documentation for an insecure ktor websocket server (ws://...): https://ktor.io/docs/creating-web-socket-chat.html#creating-the-chat-client I've found documentation for a secure ktor http server (https://...) https://github.com/ktorio/ktor-documentation/tree/main/codeSnippets/snippets/ssl-embedded-server But I can't seem to find or figure out how to serve a secure ktor websocket server (wss://...)…

VIEW QUESTION
Back To Top
Search