# Method Protocols.OBEX.Client()->do_put()

Method do_put

  ``array`(`int`|`Headers`) do_put(`string`|`Stdio.Stream` `data`, `Headers`|`void` `extra_headers`)`

Description

  Perform a REQ_PUT request.

Parameter `data`

  Body data to send, or a stream to read the data from

Parameter `extra_headers`

  Any additional headers to send (HI_LENGTH and HI_BODY are generated by this function)

See also

  do_get(), do_request()