Sends a piece of binary data to the server.
public func sendData(buffer: Data) throws -> Void
Use this method to send a piece of binary data to the server.