+ runHttpd config resources
+
+
+helloWorld :: ResourceDef
+helloWorld
+ = ResourceDef {
+ resUsesNativeThread = False
+ , resIsGreedy = False
+ , resGet
+ = Just $ do setHeader "Content-Type" "text/plain"
+ outputChunk "Hello, "
+ outputChunk "World!\n"
+ , resHead = Nothing
+ , resPost = Nothing
+ , resPut = Nothing
+ , resDelete = Nothing
+ }
\ No newline at end of file