X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=9b5c7f6116165f143728bde2b8a81cd947109db3;hp=7cb3c4cdf8b6d06d880777c0cbd2679b490fbdcf;hb=815d3dc46b3c98fded874db7b8ef5f0f70dd9927;hpb=f33ddcab9445fdc1a764547a07de1182a010eb1c diff --git a/http.c b/http.c index 7cb3c4c..9b5c7f6 100644 --- a/http.c +++ b/http.c @@ -338,7 +338,8 @@ zend_function_entry httpi_request_class_methods[] = { PHP_ME(HTTPi_Request, send, NULL, ZEND_ACC_PUBLIC) PHP_ME(HTTPi_Request, getResponseData, NULL, ZEND_ACC_PUBLIC) - PHP_ME(HTTPi_Request, getResponseHeaders, NULL, ZEND_ACC_PUBLIC) + PHP_ME(HTTPi_Request, getResponseHeader, NULL, ZEND_ACC_PUBLIC) + PHP_ME(HTTPi_Request, getResponseCode, NULL, ZEND_ACC_PUBLIC) PHP_ME(HTTPi_Request, getResponseBody, NULL, ZEND_ACC_PUBLIC) PHP_ME(HTTPi_Request, getResponseInfo, NULL, ZEND_ACC_PUBLIC)