2019-02-19から1日間の記事一覧

wsclientでプロキシサーバーを経由する

wsclientでプロキシを使う方法 ws.url(url).withProxyServer(DefaultWSProxyServer( host = "プロキシサーバー名", port = 8080, principal = Some("ユーザー名"), password = Some("パスワード") ))

play framework 起動時のポートを変更する方向

起動時にportを変更する方法 デフォルトは9000ポートが指定されていますが、ポート番号を変更したいときは起動に以下のコマンドを使う。 sbt "run -Dhttp.port=ポート番号" httpを使用せずにhttpsだけを使いたい場合 sbt "run -Dhttps.port=ポート番号" -Dht…