

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Testing With Testify
incomplete
2: Parsing the Request Line
incomplete
3: Parsing a Stream
incomplete
4: Request Line Review
incomplete
5: State Machine
incomplete
6: Connect the Parsing
incomplete
This lesson's interactive features are locked, please to keep using them
We've got all the tests passing, now it's time to actually use our parser in our tcplistener! By the end of this lesson, you'll have a tcplistener that can parse the request line from a curl request!
Believe it or not, this step is super easy... we already did the hard parts.
Request line:
- Method: GET
- Target: /
- Version: 1.1
go run ./cmd/tcplistener | tee /tmp/requestline.txt
curl http://localhost:42069/prime/agen
Run and submit the CLI tests.