ESP8266 Client and Server by ESP8266WiFi.h

Have you tried looking for examples, under the 'examples' menu?