Loading docs/examples/htmltitle.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,8 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ // Get a web page, parse it with libxml. // /* <DESC> * Get a web page, extract the title with libxml. * </DESC> */ // Written by Lars Nilsson // // GNU C++ compile command line suggestion (edit paths accordingly): Loading docs/examples/http-post.c +5 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * simple HTTP POST using the easy interface * </DESC> */ #include <stdio.h> #include <curl/curl.h> Loading docs/examples/http2-download.c +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Multiplexed HTTP/2 downloads over a single connection * </DESC> */ #include <stdio.h> #include <stdlib.h> Loading docs/examples/http2-serverpush.c +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * HTTP/2 server push * </DESC> */ #include <stdio.h> #include <stdlib.h> Loading docs/examples/http2-upload.c +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Multiplexed HTTP/2 uploads over a single connection * </DESC> */ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> Loading Loading
docs/examples/htmltitle.cpp +5 −3 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,8 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ // Get a web page, parse it with libxml. // /* <DESC> * Get a web page, extract the title with libxml. * </DESC> */ // Written by Lars Nilsson // // GNU C++ compile command line suggestion (edit paths accordingly): Loading
docs/examples/http-post.c +5 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * simple HTTP POST using the easy interface * </DESC> */ #include <stdio.h> #include <curl/curl.h> Loading
docs/examples/http2-download.c +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Multiplexed HTTP/2 downloads over a single connection * </DESC> */ #include <stdio.h> #include <stdlib.h> Loading
docs/examples/http2-serverpush.c +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * HTTP/2 server push * </DESC> */ #include <stdio.h> #include <stdlib.h> Loading
docs/examples/http2-upload.c +4 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,10 @@ * KIND, either express or implied. * ***************************************************************************/ /* <DESC> * Multiplexed HTTP/2 uploads over a single connection * </DESC> */ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> Loading