pike.git / lib / modules / Web.pmod / Api.pmod / Api.pike

version» Context lines:

pike.git/lib/modules/Web.pmod/Api.pmod/Api.pike:317:    }       if (utf8_decode) {    TRACE("Decode UTF8: %s\n", req->data());    return Standards.JSON.decode_utf8(unescape_forward_slashes(req->data()));    }       return Standards.JSON.decode(unescape_forward_slashes(req->data()));   }    - //! String format - //! - //! @param t - string _sprintf(int t) + protected string _sprintf(int t)   {    return sprintf("%O(authorized:%O)", this_program,    (_auth && !!_auth->access_token));   }      //! Convenience method for getting the URI to a specific API method   //!   //! @param method   protected string get_uri(string method)   {