glm.fit(x, y, w, start, offset, family, maxit, epsilon, trace, null.dev, qr, ...)
The glm.fit function is the work-horse for glm, and is named as the default method in the definition of glm. It receives x and y data rather than a formula, but still uses the family object to define the IRLS steps. Users can write their own versions of glm.fit, and pass the name of their function via the method argument to glm. Care should be taken to include as many of the arguments as feasible, but definitely the ... argument, which will absorb any additional arguments given in the call from glm. The name of the method can optionally be passed as a "method" attribute of the family argument. This allows users to define, say, a cox family, with "method" attribute "cox.fit"; glm will automatically look for a fitting function cox.fit and use it instead of glm.fit.
glm(Times ~ Dose + Age, family = "cox", method = "glm.fit.cox")