Description

NextWriter returns a writer for the next message to send. The writer's Close method flushes the complete message to the network.

There can be at most one open writer on a connection. NextWriter closes the previous writer if the application has not already done so.

The NextWriter method and the writers returned from the method cannot be accessed by more than one goroutine at a time.

NextWriter is referenced in 0 repositories