libnhttp/nhttp/server/extensions/http_vpath.hpp
/* get current scoped vpath instance. */
get current scoped vpath instance.
get current scoped vpath instance .
inline http_vpath* vpath_of(std::shared_ptr<http_context> context) {
		http_vpath_tag* tag = context->link->get_tag_ptr<http_vpath_tag>();
		if (tag && tag->vpaths.size())
			return tag->vpaths.top();
		return nullptr;
	}
inline http_vpath * vpath_of ( std :: shared_ptr < http_context > context ) { http_vpath_tag * tag = context -> link -> get_tag_ptr < http_vpath_tag > ( ) ; if ( tag && tag -> vpaths . size ( ) ) return tag -> vpaths . top ( ) ; return nullptr ; }
get current scoped vpath instance.
get current scoped vpath instance .