diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -33,11 +33,10 @@ A quick overview of the Gemini protocol: The way this is implemented in this package is like so: 1. Client makes a request with `NewRequest`. The client then sends the request - with `Do(*Request) (*Response, error)`. + with `Send(*Request) (*Response, error)`. 2. Server recieves the request and constructs a response. The server calls the `Serve(*ResponseWriter, *Request)` method on the `Handler` field. The handler writes the response. The server then closes the connection. -5. Client recieves the response as a `*Response`. The client then handles the - response. The client can now verify the certificate of the server using a - Trust-On-First-Use method. +3. Client recieves the response as a `*Response`. The client then handles the + response. |