--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Requests that <tt>data</tt> be written to the file identified by <tt>handle</tt>, starting at <tt>offset</tt> bytes from the start of the file. The file must have been opened for writing via #open. Returns immediately with a Request object. If a block is given, it will be invoked when the server responds."
- !ruby/struct:SM::Flow::VERB 
  body: "  request = sftp.write(handle, 0, &quot;hello, world!\\n&quot;)\n  request.wait\n"
full_name: Net::SFTP::Session#write
is_singleton: false
name: write
params: |
  write(handle, offset, data) -> request
  write(handle, offset, data) { |response| ... } -> request

visibility: public
