File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,6 @@ fn main() -> ! {
177177 port
178178 ) ;
179179 defmt:: info!( "Hostname: {:?}" , tcp_client. server_hostname( ) ) ;
180- defmt:: info!( "Socket: {:?}" , tcp_client. socket( ) ) ;
181180 defmt:: info!( "Sending HTTP Document: {:?}" , http_document. as_str( ) ) ;
182181 match tcp_client. send_data ( & http_document) {
183182 Ok ( response) => {
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ where
141141 }
142142
143143 /// Sends a string slice of data to a connected server.
144- pub fn send_data ( & mut self , data : & str ) -> Result < [ u8 ; ARRAY_LENGTH_PLACEHOLDER ] , Error > {
144+ fn send_data ( & mut self , data : & str ) -> Result < [ u8 ; ARRAY_LENGTH_PLACEHOLDER ] , Error > {
145145 self . protocol_handler
146146 . send_data ( data, self . socket . unwrap_or_default ( ) )
147147 }
You can’t perform that action at this time.
0 commit comments