RawHTTP Duplex

The rawhttp-duplex module can be used to create a duplex communication channel as either a client or a server.

The entry point of the library is the com.athaydes.rawhttp.duplex.RawHttpDuplex class.

Its connect methods are used from a client to connect to a server,
while the accept methods should be used within a HTTP server to handle requests from a client.

Example Kotlin code on the server:

import rawhttp.core.*
import com.athaydes.rawhttp.duplex.*
import rawhttp.core.server.TcpRawHttpServer;

val http = RawHttp()
val duplex = RawHttpDuplex()
val server = TcpRawHttpServer(8082)

server.start { request ->
// TODO check the request is a POST to the /connect path!
// call duplex.accept() to return a response that can initiate duplex communication
Optional.of(duplex.accept(request, { sender ->
object : MessageHandler {
override fun onTextMessage(message: String) {
// handle text message
sender.sendTextMessage(“Hi there! You sent this: $message”)
override fun onBinaryMessage(message: ByteArray, headers: RawHttpHeaders) { /* handle binary message */ }
override fun onClose() { /* handle closed connection */ }

Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/lqpnXAkXUDA/

Original article

Microsoft Pulls Windows 10 October Update

Amid reports of users facing a number of issues after updating their computers to Windows 10 October 2018 Update, Microsoft said Saturday it was pausing the rollout of the latest version of its Windows 10 desktop operating system. ZDNet: In a support document updated today, October 6, the Redmond-based OS maker said it took this decision after users complained that v1809 had deleted files after the update. We have paused the rollout of the Windows 10 October 2018 Update (version 1809) for all users as we investigate isolated reports of users missing some files after updating. Microsoft employs a gradual rollout scheme, and not all Windows 10 users have received its latest bi-annual OS update. The October 2018 Update is no longer available for download, and Microsoft urges users who manually downloaded a Windows 10 installation package to wait until new installation media is available. “We will provide an update

Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/TG5j3QkPXZA/microsoft-pulls-windows-10-october-update

Original article

Microsoft yanks buggy Win10 1809 upgrade, leaving zapped files in its wake

Starting late Friday night, Microsoft pulled the Windows 10 version 1809 upgrade package from various locations. The official Download Windows 10 page is on version 1803, ISOs have disappeared, and 1809 is no longer available via WSUS.[ Related: Windows 10 October 2018 Update: Key enterprise features ]The KB 4464619 article now states:To read this article in full, please click here

Original URL: https://www.computerworld.com/article/3311978/microsoft-windows/microsoft-yanks-buggy-win10-1809-upgrade-leaving-zapped-files-in-its-wake.html#tk.rss_all

Original article

Microsoft pulls the problematic Windows 10 October 2018 Update

Microsoft made its latest Windows 10 feature update available to download on Tuesday, and shortly afterwards the problems started. It didn’t play nicely with some Intel CPUs, Edge and Windows Store apps didn’t work for some users and, most damningly, the update was found to be deleting personal files. In the face of so many problems, Microsoft had to do something, and it has. The update has been pulled. SEE ALSO: Windows 10 October 2018 Update breaks Microsoft Edge and Windows Store apps for some users How to recover personal data lost by upgrading to the Windows 10 October 2018… [Continue Reading]

Original URL: https://betanews.com/2018/10/06/problematic-windows-10-october-2018-update-pulled/

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: