Skip to content

Commit e4428df

Browse files
committed
Update client.flush()
1 parent b760670 commit e4428df

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs/api.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,15 @@ WiFi.beginAP(ssid, passphrase, channel);
8282
```
8383

8484
#### Parameters
85-
ssid: the SSID (Service Set Identifier) of the created Access Point. Must be 8 or more characters.
86-
passphrase: optional, the WPA password of the created Access Point. Must be 8 or more characters.
87-
channel: optional, channel of created Access Point (1 - 14). Defaults to channel 1;
85+
86+
- ssid: the SSID (Service Set Identifier) of the created Access Point. Must be 8 or more characters.
87+
- passphrase: optional, the WPA password of the created Access Point. Must be 8 or more characters.
88+
- channel: optional, channel of created Access Point (1 - 14). Defaults to channel 1;
89+
8890
#### Returns
89-
WL_AP_LISTENING when creating access point succeeds
90-
WL_CONNECT_FAILED when creating access point fails
91+
92+
- WL_AP_LISTENING when creating access point succeeds
93+
- WL_CONNECT_FAILED when creating access point fails
9194

9295
#### Example
9396

@@ -2560,9 +2563,9 @@ client.read(buffer, size);
25602563

25612564
#### Description
25622565

2563-
Discard any bytes that have been written to the client but not yet read.
2566+
Clears the buffer once all outgoing characters have been sent.
25642567

2565-
flush() inherits from the Stream utility class.
2568+
flush() inherits from the [Stream](https://www.arduino.cc/reference/en/language/functions/communication/stream/) utility class.
25662569

25672570
#### Syntax
25682571

0 commit comments

Comments
 (0)