Fastly Compute C++ SDK
Loading...
Searching...
No Matches
router.cpp File Reference
#include "fastly/sdk.h"
#include <iostream>
#include <regex>

Functions

const std::regex HOME ("^/?$")
const std::regex BOOK_GET ("^/books/(\\d+)$")
const std::regex BOOK_LIST ("^/books/?$")
int main ()

Function Documentation

◆ BOOK_GET()

const std::regex BOOK_GET ( "^/books/(\\d+)$" )
Examples
router.cpp.

◆ BOOK_LIST()

const std::regex BOOK_LIST ( "^/books/?$" )
Examples
router.cpp.

◆ HOME()

const std::regex HOME ( "^/?$" )
Examples
router.cpp.

◆ main()

int main ( )